getSense Method
  Get the sense of the objective function. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Return Value
Type: Int32The sense of the current problem's objective function. Possible values:
- BCLconstant.XPRB_MAXIM - Maximize the objective.
- BCLconstant.XPRB_MINIM - Minimize the objective.
- -1 - In the case of an error.
 Examples
Examples
  XPRBprob prob = new XPRBprob("NewProb"); ... if(prob.getSense() == BCLconstant.XPRB_MAXIM) System.Console.Writeln("A maximization."); else if(prob.getSense() == BCLconstant.XPRB_MINIM) System.Console.Writeln("A minimization."); else System.Console.Writeln("Error in getSense()."); 
 See Also
See Also
 
