problem.chgbounds
| problem.chgbounds | 
  Purpose
 
 
  Changes the bounds on columns in the problem.
 
 
  Synopsis
 
  problem.chgbounds (mindex, qbtype, bnd) 
 
  Arguments
 
 | 
     mindex 
     | 
     Array containing the indices of the columns on which the bounds will change.
     | ||||||
| 
     qbtype 
     | 
     Character array indicating the type of bound to change:
     
 | ||||||
| 
     bnd 
     | 
     Array giving the new bound values.
     | 
  Example
 
 
 The following changes the lower bound of variable
 v1 to 2, upper bound of variable
 v2 to 5, and fixes variable
 v3 to 3:
 
 p.chgbounds ([v1,v2,v3],['L','U','B'],[2,5,3])
  Further information
 
 
 1. A column may appear twice in the
 mindex array so it is possible to change both the upper and lower bounds on a variable in one go.
 
 
 2.
 chgbounds may be applied to the problem in a presolved state, in which case it expects references to the presolved problem.
 
 
 3. The double constant
 xpress.infinity can be used to represent plus and minus infinity in the bound (
 bnd) array.
 
 
 4. If the upper bound on a binary variable is changed to be greater than 1 or the lower bound is changed to be less than 0 then the variable will become an integer variable.
 
 
  Related topics
 
  
