From 03241d180c9d65fa1e75ceac4c257df44438a1ce Mon Sep 17 00:00:00 2001 From: Harpreet Date: Wed, 24 Feb 2016 16:22:06 +0530 Subject: fmincon examples added --- .../scilab_en_US_help/sym_loadProblemBasic.html | 103 +++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/sym_loadProblemBasic.html (limited to 'help/en_US/scilab_en_US_help/sym_loadProblemBasic.html') diff --git a/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html b/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html new file mode 100644 index 0000000..23f690e --- /dev/null +++ b/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html @@ -0,0 +1,103 @@ + + + sym_loadProblemBasic + + + +
+ + + + +
+ << sym_loadProblem + + + Symphony Native Functions + + + sym_open >> + +
+
+
+ + + + FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_loadProblemBasic + +

+

sym_loadProblemBasic

+

Load a problem into Symphony (basic version)

+ +

Calling Sequence

+
sym_loadProblemBasic(nbVar,nbConstr,varLB,varUB,objCoeff,isInt,objSense,conMatrix,conLB,conUB)
+ +

Description

+ +

Loads a MIP problem into Symphony. All the necessary data can be given through a single function call.

+

The type of constraint is automatically deduced from the constraint bounds.

+

This version of the problem loader does not support sparse matrices and hence is only useful for small problems.

+ +

Arguments

+ +
nbVar +

Number of variables

+
nbConstr +

Number of constraints

+
varLB +

Matrix containing lower bounds of the variables (must have size 1 row and nbVar columns). Bound can be negative infinity

+
varUB +

Matrix containing upper bounds of the variables (must have size 1 row and nbVar columns). Bound can be infinity

+
objCoeff +

Matrix containing coefficients of the variables in the objective (must have size 1 row and nbVar columns)

+
isInt +

Boolean matrix representing wether a variable is constrained to be an integer (must have size 1 row and nbVar columns)

+
objSense +

The sense (maximization/minimization) of the objective. Use sym_minimize or sym_maximize here

+
conMatrix +

Matrix (normal) representing the constraint matrix (must have size nbConstr rows and nbVar columns)

+
conLB +

Matrix containing lower bounds of the constraints (must have size nbConstr rows and 1 column)

+
conUB +

Matrix containing upper bounds of the constraints (must have size nbConstr rows and 1 column)

+ +

Return value

+ +

Returns 0 if the problem was successfully loaded into Symphony

+ +

Examples

+ +
sym_loadProblemBasic(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,[1,2;2,1],[0;0],[7;6.5])
+ +

Authors

+ +
+
+ +
+ + + + + + +
Report an issue
+ << sym_loadProblem + + + Symphony Native Functions + + + sym_open >> + +
+
+
+ + -- cgit