Click or drag to resize

XPRBprobsetObj(XPRBctr) Method

Set the objective function for the current problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int setObj(
	XPRBctr ctr
)

Parameters

ctr  XPRBctr
The XPRBctr constraint to set as the objective function.

Return Value

Int32
0 on success, 1 otherwise.
Example
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