<< sym_setConstrType Symphony Native Functions sym_setContinuous >>

Symphony Toolbox >> Symphony Toolbox > Symphony Native Functions > sym_setConstrUpper

sym_setConstrUpper

Set the upper bound of a constraint

Calling Sequence

sym_setConstrUpper(index,newBound)

Description

This function changes the upper bound of a constraint

Arguments

index

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

newBound

The new upper bound for the constraint

Return value

Returns 0

Examples

sym_setConstrUpper(2,-100)

Authors


Report an issue
<< sym_setConstrType Symphony Native Functions sym_setContinuous >>