problem.chgobj
| problem.chgobj | 
  Purpose
 
 
  Change the objective function coefficients.
 
 
  Synopsis
 
  problem.chgobj (mindex, obj) 
 
  Arguments
 
 | 
     mindex 
     | 
     Arraycontaining the indices of the columns on which the range elements will change. An index of
     -1 indicates that the fixed part of the objective function on the right hand side should change.
     | 
| 
     obj 
     | 
     Array giving the new objective function coefficient.
     | 
  Example
 
 
 Changing three coefficients of the objective function with
 chgobj:
 
 p.chgobj ([x1,x2,x3,-1], [3.5, -2, 0, 224])
  Further information
 
 
  The value of the fixed part of the objective function can be obtained using the
 OBJRHS problem attribute.
 
 
  Related topics
 
  
