From 03241d180c9d65fa1e75ceac4c257df44438a1ce Mon Sep 17 00:00:00 2001 From: Harpreet Date: Wed, 24 Feb 2016 16:22:06 +0530 Subject: fmincon examples added --- help/en_US/scilab_en_US_help/sym_addConstr.html | 91 +++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/sym_addConstr.html (limited to 'help/en_US/scilab_en_US_help/sym_addConstr.html') diff --git a/help/en_US/scilab_en_US_help/sym_addConstr.html b/help/en_US/scilab_en_US_help/sym_addConstr.html new file mode 100644 index 0000000..230d2f8 --- /dev/null +++ b/help/en_US/scilab_en_US_help/sym_addConstr.html @@ -0,0 +1,91 @@ +
+ +Add a new constraint
sym_addConstr(coeff,type,bound1[,bound2])
This function adds a new constraint from scratch. Supported types of constraints are less than or equal to, more than or equal to, equal to, or ranged.
+The last argument is only required for ranged constraints. For the other types of constraints, only the third argument is required.
Sparse matrix representing coefficients of the variables in the new constraint (must have 1 row and number of columns equal to number of variables)
Type of the new constraint. Supported types: less than or equal to ("L"), greater than or equal to ("G"), equal to ("E"), or ranged ("R")
The first (or only) bound for the constraint
The second bound for ranged constraints. The two bounds for ranged constraints can be in any order.
Returns 0