Initializing help system before first use

setSense Method

Set the sense of the objective function. The objective sense is set to minimization by default.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public int setSense(
	int dir
)

Parameters

dir
Type:  SystemInt32
The sense of the problem solution to search for. Possible values:
  • BCLconstant.XPRB_MAXIM - Maximize the objective.
  • BCLconstant.XPRB_MINIM - Minimize the objective.

Return Value

Type:  Int32
Examples
xbburg.cs, xbburgi.cs, xbcoco.cs, xbcoco1.cs, xbcoco2.cs, xbcoco3.cs, xbcontr1.cs, xbdelvr.cs, xbexpl.cs, xbportf.cs and xbpurch.cs in the Introductory Examples folder. xbcutstk.cs, xbfixbv.cs and xbrecurs.cs in the Advanced Examples folder. foliolp.cs, xbcutex.cs, xbexpl1.cs, xbexpl1i.cs, xbqprl2.cs and xbexpl3.cs in the User's Guide Examples folder.
See Also