Click or drag to resize

XPRBprobloadMIPSol(Double, Int32, Boolean) Method

Load a MIP solution from the MIP solution pool.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int loadMIPSol(
	double[] sol,
	int ncol,
	bool ifopt
)

Parameters

sol  Double
Reference to a double solution value array.
ncol  Int32
The number of columns.
ifopt  Boolean
Load into BCL, synchronising with the Optimizer?

Return Value

Int32
  • -1 – Solution rejected because an error occurred.
  • 0 – Solution accepted.
  • 1 – Solution rejected because it is infeasible.
  • 2 – Solution rejected because it is cutoff.
  • 3 – Solution rejected because the LP reoptimization was interrupted.
  • -2 – The given solution array does not have the expected size.
  • -3 – Error loading solution into BCL.
See Also