Click or drag to resize

XPRBproblpOptimize(String) Method

Deprecated since version 46.00, use the optimizer's .NET API instead.

Solve as a continuous problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
[ObsoleteAttribute("Deprecated since version 46.00, use the optimizer's .NET API instead.", 
	false)]
public int lpOptimize(
	string alg
)

Parameters

alg  String
choice of the solution algorithm. Possible values:
  • "p" – Use primal simplex algorithm.
  • "d" – Use dual simplex algorithm.
  • "b" – Use Newton-Barrier algorithm.
  • "n" – Use the network solver.
  • "c" – Continue previously interrupted optimization run.
  • "" – no parameter: use the default setting.

Return Value

Int32
Example
C#
XPRBprob expl2;
expl2 = new XPRBprob("example2");
expl2.setSense(XPRB.MAXIM);
expl2.lpOptimize("b");
See Also