getSense Method
Get the sense of the objective function.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

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.

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().");
