<< sym_setVarSoln Symphony Native Functions sym_solve >>

Symphony Toolbox >> Symphony Toolbox > Symphony Native Functions > sym_setVarUpper

sym_setVarUpper

Set upper bound of a variable

Calling Sequence

sym_setVarUpper(index,newBound)

Description

This function changes the upper bound of a variable to a new value

Arguments

index

Index of the variable to modify. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

newBound

The new upper bound for the variable

Return value

Returns 0

Examples

sym_setVarUpper(2,100)

Authors


Report an issue
<< sym_setVarSoln Symphony Native Functions sym_solve >>