Initializing help system before first use

setObj Method (XPRBctr)

Set the objective function for the current problem.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public int setObj(
	XPRBctr ctr
)

Parameters

ctr
Type:  BCLXPRBctr
The XPRBctr constraint to set as the objective function.

Return Value

Type:  Int32
0 on success, 1 otherwise.
Examples
xbburg.cs, xbburgi.cs, xbchess.cs, xbcoco.cs, xbcoco1.cs, xbcoco2.cs, xbcoco3.cs, xbcontr1.cs, xbdelv.cs, xbexpl.cs, xbpurch.cs, xbworkrng.cs and xbworks.cs in the Introductory Examples folder. xbcutstk.cs, xbels.cs, xbelsc.cs, xbfixbv.cs, xbgoalobj.cs and xbrecurs.cs in the Advanced Examples folder. foliodata.cs, folioheur.cs, folioinit.cs, foliolp.cs, foliomip1.cs, foliomip2.cs, xbcontr1.cs, xbcontr2.cs, xbcutex.cs, xbexpl1.cs, xbexpl2.cs and xbexpl3.cs in the User's Guide Examples folder.
See Also