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: 44.01.01
Syntax
C#
public int setSense(
	int dir
)
VB
Public Function setSense ( 
	dir As Integer
) As Integer

Parameters

dir
Type:  System.Int32
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

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.