Initializing help system before first use

problem.chgrhs

problem.chgrhs


Purpose
Changes right–hand side values of the problem.
Synopsis
problem.chgrhs(mindex, rhs)
Arguments
mindex 
Array containing the rows (i.e. xpress.constraint objects, indices, or names) whose right hand side will change.
rhs 
Array containing the right hand side values.
Example
Here we change the three right hand sides in rows 2, 6, and 8 to new values:
p.chgrhs([2,8,6], [5, 3.8, 5.7])
Related topics