Initializing help system before first use

setObj Method (XPRBexpr)

Set the objective function for the current problem.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int setObj(
	XPRBexpr q
)

Parameters

q
Type:  BCLXPRBexpr
The XPRBexpr expression to set as the objective function.

Return Value

Type:  Int32
1 on success.
Examples
xbportf.cs in the Introductory Exaples folder. folioqp.cs and xbqprl2.cs in the User's Guide Examples folder.
See Also