From d5a0869a7d1482b67f3fd42805948ee30a05eb1e Mon Sep 17 00:00:00 2001 From: Harpreet Date: Thu, 4 Feb 2016 15:36:02 +0530 Subject: Source files --- help/en_US/scilab_en_US_help/sym_addConstr.html | 91 ------------------------- 1 file changed, 91 deletions(-) delete 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 deleted file mode 100644 index 230d2f8..0000000 --- a/help/en_US/scilab_en_US_help/sym_addConstr.html +++ /dev/null @@ -1,91 +0,0 @@ - - - sym_addConstr - - - -
- - - - -
- << Symphony Native Functions - - - Symphony Native Functions - - - sym_addVar >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_addConstr - -

-

sym_addConstr

-

Add a new constraint

- -

Calling Sequence

-
sym_addConstr(coeff,type,bound1[,bound2])
- -

Description

- -

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.

- -

Arguments

- -
coeff -

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 -

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")

-
bound1 -

The first (or only) bound for the constraint

-
bound2 -

The second bound for ranged constraints. The two bounds for ranged constraints can be in any order.

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_addConstr(sparse([0,0,1,0,2]),"R",0,10)
-
sym_addConstr(sparse([0,0,1,1,0]),"G",4)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << Symphony Native Functions - - - Symphony Native Functions - - - sym_addVar >> - -
-
-
- - -- cgit