diff options
Diffstat (limited to 'help/en_US/symphony.xml')
-rw-r--r-- | help/en_US/symphony.xml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/help/en_US/symphony.xml b/help/en_US/symphony.xml index c33b95c..972bfc1 100644 --- a/help/en_US/symphony.xml +++ b/help/en_US/symphony.xml @@ -36,33 +36,33 @@ <title>Parameters</title> <variablelist> <varlistentry><term>nbVar :</term> - <listitem><para> a 1 x 1 matrix of doubles, number of variables</para></listitem></varlistentry> + <listitem><para> a double, number of variables.</para></listitem></varlistentry> <varlistentry><term>nbCon :</term> - <listitem><para> a 1 x 1 matrix of doubles, number of constraints</para></listitem></varlistentry> + <listitem><para> a double, number of constraints.</para></listitem></varlistentry> <varlistentry><term>objCoeff :</term> - <listitem><para> a 1 x n matrix of doubles, where n is number of variables, contains coefficients of the variables in the objective</para></listitem></varlistentry> + <listitem><para> a 1 x n matrix of doubles, where n is number of variables, represents coefficients of the variables in the objective.</para></listitem></varlistentry> <varlistentry><term>isInt :</term> - <listitem><para> a 1 x n matrix of boolean, where n is number of variables, representing wether a variable is constrained to be an integer</para></listitem></varlistentry> + <listitem><para> a vector of boolean, represents wether a variable is constrained to be an integer.</para></listitem></varlistentry> <varlistentry><term>LB :</term> - <listitem><para> a 1 x n matrix of doubles, where n is number of variables, contains lower bounds of the variables. Bound can be negative infinity</para></listitem></varlistentry> + <listitem><para> a vector of doubles, represents lower bounds of the variables.</para></listitem></varlistentry> <varlistentry><term>UB :</term> - <listitem><para> a 1 x n matrix of doubles, where n is number of variables, contains upper bounds of the variables. Bound can be infinity</para></listitem></varlistentry> + <listitem><para> a vector of doubles, represents upper bounds of the variables.</para></listitem></varlistentry> <varlistentry><term>conMatrix :</term> - <listitem><para> a m x n matrix of doubles, where n is number of variables and m is number of constraints, contains matrix representing the constraint matrix</para></listitem></varlistentry> + <listitem><para> a matrix of doubles, represents matrix representing the constraint matrix.</para></listitem></varlistentry> <varlistentry><term>conLB :</term> - <listitem><para> a m x 1 matrix of doubles, where m is number of constraints, contains lower bounds of the constraints.</para></listitem></varlistentry> + <listitem><para> a vector of doubles, represents lower bounds of the constraints.</para></listitem></varlistentry> <varlistentry><term>conUB :</term> - <listitem><para> a m x 1 matrix of doubles, where m is number of constraints, contains upper bounds of the constraints</para></listitem></varlistentry> + <listitem><para> a vector of doubles, represents upper bounds of the constraints</para></listitem></varlistentry> <varlistentry><term>objSense :</term> - <listitem><para> The sense (maximization/minimization) of the objective. Use 1(sym_minimize ) or -1 (sym_maximize) here</para></listitem></varlistentry> + <listitem><para> The sense (maximization/minimization) of the objective. Use 1(sym_minimize ) or -1 (sym_maximize) here.</para></listitem></varlistentry> <varlistentry><term>options :</term> - <listitem><para> a 1xq marix of string, provided to set the paramters in symphony</para></listitem></varlistentry> + <listitem><para> a a list containing the the parameters to be set.</para></listitem></varlistentry> <varlistentry><term>xopt :</term> - <listitem><para> a 1xn matrix of doubles, the computed solution of the optimization problem</para></listitem></varlistentry> + <listitem><para> a vector of doubles, the computed solution of the optimization problem.</para></listitem></varlistentry> <varlistentry><term>fopt :</term> - <listitem><para> a 1x1 matrix of doubles, the function value at x</para></listitem></varlistentry> + <listitem><para> a double, the function value at x.</para></listitem></varlistentry> <varlistentry><term>status :</term> - <listitem><para> status flag from symphony</para></listitem></varlistentry> + <listitem><para> status flag from symphony.</para></listitem></varlistentry> <varlistentry><term>output :</term> <listitem><para> The output data structure contains detailed informations about the optimization process.</para></listitem></varlistentry> </variablelist> @@ -96,11 +96,11 @@ We are calling SYMPHONY written in C by gateway files for the actual computation <programlisting role="example"><![CDATA[ //A basic case : // Objective function -c = [350*5,330*3,310*4,280*6,500,450,400,100] +c = [350*5,330*3,310*4,280*6,500,450,400,100]'; // Lower Bound of variable -lb = repmat(0,1,8); +lb = repmat(0,8,1); // Upper Bound of variables -ub = [repmat(1,1,4) repmat(%inf,1,4)]; +ub = [repmat(1,4,1);repmat(%inf,4,1)]; // Constraint Matrix conMatrix = [5,3,4,6,1,1,1,1; 5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03; @@ -138,7 +138,7 @@ p = [ 504 803 667 1103 834 585 811 856 690 832 846 813 868 793 .. 957 798 669 625 467 1051 552 717 654 388 559 555 1104 783 .. 959 668 507 855 986 831 821 825 868 852 832 828 799 686 .. 510 671 575 740 510 675 996 636 826 1022 1140 654 909 799 .. -1162 653 814 625 599 476 767 954 906 904 649 873 565 853 1008 632] +1162 653 814 625 599 476 767 954 906 904 649 873 565 853 1008 632]'; //Constraint Matrix conMatrix = [ //Constraint 1 @@ -185,9 +185,9 @@ conMatrix = [ nbCon = size(conMatrix,1) nbVar = size(conMatrix,2) // Lower Bound of variables -lb = repmat(0,1,nbVar) +lb = repmat(0,nbVar,1) // Upper Bound of variables -ub = repmat(1,1,nbVar) +ub = repmat(1,nbVar,1) // Row Matrix for telling symphony that the is integer or not isInt = repmat(%t,1,nbVar) // Lower Bound of constrains |