problem.chgobjsense
| problem.chgobjsense | 
  Purpose
 
 
  Changes the problem's objective function sense to minimize or maximize.
 
 
  Synopsis
 
 problem.chgobjsense (sense)
 
  Argument
 
 | 
     objsense 
     | 
     xpress.minimize or
     xpress.maximize to change into a minimization or maximization problem, respectively.
     | 
  Example
 
 
 Changing three coefficients of the objective function with
 chgobj:
 
 p.chgobjsense (xpress.maximize) # optimize in this general direction
  Related topics
 
  
