setObj Method (XPRBctr)
Set the objective function for the current problem.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- ctr
-
Type:
BCLXPRBctr
The XPRBctr constraint to set as the objective function.
Return Value
Type: Int320 on success, 1 otherwise.

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.
