XPRBsetsense
| XPRBsetsense | 
  Purpose
 
  Synopsis
 
int XPRBsetsense(XPRBprob prob, int dir); 
 
  Arguments
 
| 
     prob 
     | 
     Reference to a problem.
     | ||||
| 
     dir 
     | 
     Sense of the objective function, which must be one of:
     
 | 
  Return value
 
 0 if function executed successfully, 1 otherwise.
  Example
 
XPRBprob expl2;
   ...
expl2 = XPRBnewprob("example2");
XPRBsetsense(expl2, XPRB_MAXIM);
 This sets
 expl2 as a maximization problem.
 
  Further information
 
 This functions sets the objective sense to maximization or minimization. It is set to minimization by default.
 
  Related topics
 
 
