XPRBprobsetObj(XPRBctr) Method |
Set the objective function for the current problem.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic int setObj(
XPRBctr ctr
)
Public Function setObj (
ctr As XPRBctr
) As Integer
Parameters
- ctr XPRBctr
- The XPRBctr constraint to set as the objective function.
Return Value
Int320 on success, 1 otherwise.
Examplexbburg.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