Initializing help system before first use

loadMIPSol Method (Double[], Int32, Boolean)

Load a MIP solution from the MIP solution pool.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int loadMIPSol(
	double[] sol,
	int ncol,
	bool ifopt
)

Parameters

sol
Type:  SystemDouble
Reference to a double solution value array.
ncol
Type:  SystemInt32
The number of columns.
ifopt
Type:  SystemBoolean
Load into BCL, synchronising with the Optimizer?

Return Value

Type:  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