Click or drag to resize

XPRBprobsetObj(XPRBexpr) 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(
	XPRBexpr q
)

Parameters

q  XPRBexpr
The XPRBexpr expression to set as the objective function.

Return Value

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