Initializing help system before first use

XPRSprob Methods

The XPRSprob type exposes the following members.

Methods
  Name Description
Public method AddAfterObjectiveCallback(AfterObjectiveCallback)
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Int32)
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Object)
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Object, Int32)
Public method AddBarIterationCallback(BarIterationCallback)
Public method AddBarIterationCallback(BarIterationCallback, Int32)
Public method AddBarIterationCallback(BarIterationCallback, Object)
Public method AddBarIterationCallback(BarIterationCallback, Object, Int32)
Public method AddBarlogCallback(BarlogCallback)
Public method AddBarlogCallback(BarlogCallback, Int32)
Public method AddBarlogCallback(BarlogCallback, Object)
Public method AddBarlogCallback(BarlogCallback, Object, Int32)
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback)
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Int32)
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Object)
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Object, Int32)
Public method AddBeforeSolveCallback(BeforeSolveCallback)
Public method AddBeforeSolveCallback(BeforeSolveCallback, Int32)
Public method AddBeforeSolveCallback(BeforeSolveCallback, Object)
Public method AddBeforeSolveCallback(BeforeSolveCallback, Object, Int32)
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback)
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Int32)
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Object)
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Object, Int32)
Public method AddCheckTimeCallback(CheckTimeCallback)
Public method AddCheckTimeCallback(CheckTimeCallback, Int32)
Public method AddCheckTimeCallback(CheckTimeCallback, Object)
Public method AddCheckTimeCallback(CheckTimeCallback, Object, Int32)
Public method AddChgbranchCallback(ChgbranchCallback)
Public method AddChgbranchCallback(ChgbranchCallback, Int32)
Public method AddChgbranchCallback(ChgbranchCallback, Object)
Public method AddChgbranchCallback(ChgbranchCallback, Object, Int32)
Public method AddChgnodeCallback(ChgnodeCallback)
Public method AddChgnodeCallback(ChgnodeCallback, Int32)
Public method AddChgnodeCallback(ChgnodeCallback, Object)
Public method AddChgnodeCallback(ChgnodeCallback, Object, Int32)
Public method AddCol(Double, Double, Double)
Add a single column to this problem. This is a shortcut for
AddCol(obj, lb, ub, 'C', null, null, null);
.
Public method AddCol(Double, Double, Double, Char)
Add a single column to this problem. This is a shortcut for
AddCol(obj, lb, ub, type, null, null, null);
.
Public method AddCol(Double, Double, Double, String)
Add a single column to this problem. This is a shortcut for
AddCol(obj, lb, ub, 'C', null, null, name);
.
Public method AddCol(Double, Double, Double, Char, String)
Add a single column to this problem. This is a shortcut for
AddCol(obj, lb, ub, type, null, null, name);
.
Public method AddCol(Double, Double, Double, Char, Int32, Double)
Add a single column to this problem. This is a shortcut for
AddCol(obj, lb, ub, type, rowind, rowval, null);
.
Public method AddCol(Double, Double, Double, Char, Int32, Double, String)
Add a single column to the model.
Public method AddCols(Int32, Int32, Double, Int32, Int32, Double, Double, Double)
Allows columns to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddCols(Int32, Int64, Double, Int64, Int32, Double, Double, Double)
Allows columns to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddComputeRestartCallback(ComputeRestartCallback)
Public method AddComputeRestartCallback(ComputeRestartCallback, Int32)
Public method AddComputeRestartCallback(ComputeRestartCallback, Object)
Public method AddComputeRestartCallback(ComputeRestartCallback, Object, Int32)
Public method AddCut(Int32, XPRSprobRowInfo)
Add a single cut to the problem.
Public method AddCut(Int32, Int32, Double, Char, Double)
Add a single cut to the problem.
Public method AddCutlogCallback(CutlogCallback)
Public method AddCutlogCallback(CutlogCallback, Int32)
Public method AddCutlogCallback(CutlogCallback, Object)
Public method AddCutlogCallback(CutlogCallback, Object, Int32)
Public method AddCutmgrCallback(CutmgrCallback)
Public method AddCutmgrCallback(CutmgrCallback, Int32)
Public method AddCutmgrCallback(CutmgrCallback, Object)
Public method AddCutmgrCallback(CutmgrCallback, Object, Int32)
Public method AddCuts(Int32, Int32, Char, Double, Int32, Int32, Double)
Adds cuts directly to the matrix at the current node. Any cuts added to the matrix at the current node and not deleted at the current node will be automatically added to the cut pool. The cuts added to the cut pool will be automatically restored at descendant nodes.
Public method AddCuts(Int32, Int32, Char, Double, Int64, Int32, Double)
Adds cuts directly to the matrix at the current node. Any cuts added to the matrix at the current node and not deleted at the current node will be automatically added to the cut pool. The cuts added to the cut pool will be automatically restored at descendant nodes.
Public method AddEstimateCallback(EstimateCallback)
Public method AddEstimateCallback(EstimateCallback, Int32)
Public method AddEstimateCallback(EstimateCallback, Object)
Public method AddEstimateCallback(EstimateCallback, Object, Int32)
Public method AddGapNotifyCallback(GapNotifyCallback)
Public method AddGapNotifyCallback(GapNotifyCallback, Int32)
Public method AddGapNotifyCallback(GapNotifyCallback, Object)
Public method AddGapNotifyCallback(GapNotifyCallback, Object, Int32)
Public method AddGenCons(Int32, Int32, Int32, GenConsType, Int32, Int32, Int32, Int32, Double)
Adds one or more general constraints to the problem. Each general constraint y = f(x1, ..., xn, c1, ..., cn) consists of one or more (input) columns xi, zero or more constant values ci and a resultant (output column) y, different from all xi. General constraints include maximum and minimum (arbitrary number of input columns of any type and arbitrary number of input values, at least one total), and and or (at least one binary input column, no constant values, binary resultant) and absolute value (exactly one input column of arbitrary type, no constant values).
Public method AddGenCons(Int32, Int64, Int64, GenConsType, Int32, Int64, Int32, Int64, Double)
Adds one or more general constraints to the problem. Each general constraint y = f(x1, ..., xn, c1, ..., cn) consists of one or more (input) columns xi, zero or more constant values ci and a resultant (output column) y, different from all xi. General constraints include maximum and minimum (arbitrary number of input columns of any type and arbitrary number of input values, at least one total), and and or (at least one binary input column, no constant values, binary resultant) and absolute value (exactly one input column of arbitrary type, no constant values).
Public method AddInfnodeCallback(InfnodeCallback)
Public method AddInfnodeCallback(InfnodeCallback, Int32)
Public method AddInfnodeCallback(InfnodeCallback, Object)
Public method AddInfnodeCallback(InfnodeCallback, Object, Int32)
Public method AddIntsolCallback(IntsolCallback)
Public method AddIntsolCallback(IntsolCallback, Int32)
Public method AddIntsolCallback(IntsolCallback, Object)
Public method AddIntsolCallback(IntsolCallback, Object, Int32)
Public method AddLplogCallback(LplogCallback)
Public method AddLplogCallback(LplogCallback, Int32)
Public method AddLplogCallback(LplogCallback, Object)
Public method AddLplogCallback(LplogCallback, Object, Int32)
Public method AddMessageCallback(MessageCallback)
Public method AddMessageCallback(MessageCallback, Int32)
Public method AddMessageCallback(MessageCallback, Object)
Public method AddMessageCallback(MessageCallback, Object, Int32)
Public method AddMiplogCallback(MiplogCallback)
Public method AddMiplogCallback(MiplogCallback, Int32)
Public method AddMiplogCallback(MiplogCallback, Object)
Public method AddMiplogCallback(MiplogCallback, Object, Int32)
Public method AddMipSol(Double, Int32)
Add a new MIP solution. This is a convenience wrapper for .AddMipSol(int, double[], int[], string).
Public method AddMipSol(Double, Int32, String)
Add a new MIP solution. This is a convenience wrapper for .AddMipSol(int, double[], int[], string).
Public method AddMipSol(Int32, Double, Int32, String)
Adds a new feasible, infeasible or partial MIP solution for the problem to the Optimizer.
Public method AddMipThreadCallback(MipThreadCallback)
Public method AddMipThreadCallback(MipThreadCallback, Int32)
Public method AddMipThreadCallback(MipThreadCallback, Object)
Public method AddMipThreadCallback(MipThreadCallback, Object, Int32)
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback)
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Int32)
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Object)
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Object, Int32)
Public method AddMsgHandlerCallback(TextWriter) (Inherited from XPRSobject.)
Public method AddMsgHandlerCallback(MsgHandlerCallback) (Overrides XPRSobjectAddMsgHandlerCallback(MsgHandlerCallback).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Int32) (Overrides XPRSobjectAddMsgHandlerCallback(MsgHandlerCallback, Int32).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Object) (Overrides XPRSobjectAddMsgHandlerCallback(MsgHandlerCallback, Object).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Object, Int32) (Overrides XPRSobjectAddMsgHandlerCallback(MsgHandlerCallback, Object, Int32).)
Public method AddMsJobEndCallback(MsJobEndCallback)
Public method AddMsJobEndCallback(MsJobEndCallback, Int32)
Public method AddMsJobEndCallback(MsJobEndCallback, Object)
Public method AddMsJobEndCallback(MsJobEndCallback, Object, Int32)
Public method AddMsJobStartCallback(MsJobStartCallback)
Public method AddMsJobStartCallback(MsJobStartCallback, Int32)
Public method AddMsJobStartCallback(MsJobStartCallback, Object)
Public method AddMsJobStartCallback(MsJobStartCallback, Object, Int32)
Public method AddMsWinnerCallback(MsWinnerCallback)
Public method AddMsWinnerCallback(MsWinnerCallback, Int32)
Public method AddMsWinnerCallback(MsWinnerCallback, Object)
Public method AddMsWinnerCallback(MsWinnerCallback, Object, Int32)
Public method AddNames(Int32, String, Int32, Int32)
Public method AddNames(Namespaces, String, Int32, Int32)
Public method AddNewnodeCallback(NewnodeCallback)
Public method AddNewnodeCallback(NewnodeCallback, Int32)
Public method AddNewnodeCallback(NewnodeCallback, Object)
Public method AddNewnodeCallback(NewnodeCallback, Object, Int32)
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback)
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Int32)
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Object)
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Object, Int32)
Public method AddNodecutoffCallback(NodecutoffCallback)
Public method AddNodecutoffCallback(NodecutoffCallback, Int32)
Public method AddNodecutoffCallback(NodecutoffCallback, Object)
Public method AddNodecutoffCallback(NodecutoffCallback, Object, Int32)
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback)
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Int32)
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Object)
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Object, Int32)
Public method AddObj
Appends an objective function with the given coefficients to a multi-objective problem. The weight and priority of the objective are set to the given values.
Public method AddOptnodeCallback(OptnodeCallback)
Public method AddOptnodeCallback(OptnodeCallback, Int32)
Public method AddOptnodeCallback(OptnodeCallback, Object)
Public method AddOptnodeCallback(OptnodeCallback, Object, Int32)
Public method AddPreIntsolCallback(PreIntsolCallback)
Public method AddPreIntsolCallback(PreIntsolCallback, Int32)
Public method AddPreIntsolCallback(PreIntsolCallback, Object)
Public method AddPreIntsolCallback(PreIntsolCallback, Object, Int32)
Public method AddPrenodeCallback(PrenodeCallback)
Public method AddPrenodeCallback(PrenodeCallback, Int32)
Public method AddPrenodeCallback(PrenodeCallback, Object)
Public method AddPrenodeCallback(PrenodeCallback, Object, Int32)
Public method AddPresolveCallback(PresolveCallback)
Public method AddPresolveCallback(PresolveCallback, Int32)
Public method AddPresolveCallback(PresolveCallback, Object)
Public method AddPresolveCallback(PresolveCallback, Object, Int32)
Public method AddPwlCons(Int32, Int32, Int32, Int32, Int32, Double, Double)
Adds one or more piecewise linear constraints to the problem. Each piecewise linear constraint y = f(x) consists of an (input) column x, a (different) resultant (output column) y and a piecewise linear function f. The piecewise linear function f is described by at least two breakpoints, which are given as combinations of x- and y-values. Discontinuous piecewise linear functions are supported, in this case both the left and right limit at a given point need to be entered as breakpoints. To differentiate between left and right limit, the breakpoints need to be given as a list with non-decreasing x-values.
Public method AddPwlCons(Int32, Int64, Int32, Int32, Int64, Double, Double)
Adds one or more piecewise linear constraints to the problem. Each piecewise linear constraint y = f(x) consists of an (input) column x, a (different) resultant (output column) y and a piecewise linear function f. The piecewise linear function f is described by at least two breakpoints, which are given as combinations of x- and y-values. Discontinuous piecewise linear functions are supported, in this case both the left and right limit at a given point need to be entered as breakpoints. To differentiate between left and right limit, the breakpoints need to be given as a list with non-decreasing x-values.
Public method AddQMatrix(Int32, Int32, Int32, Int32, Double)
Adds a new quadratic matrix into a row defined by triplets.
Public method AddQMatrix(Int32, Int64, Int32, Int32, Double)
Adds a new quadratic matrix into a row defined by triplets.
Public method AddRow(XPRSprobRowInfo)
Add a single row to the problem.
Public method AddRow(XPRSprobRowInfo, String)
Add a single row to the problem.
Public method AddRow(Int32, Double, Char, Double)
Add a single row to the problem. This is a short cut for
AddRow(colind, colval, rowtype, rhs, null, null)
.
Public method AddRow(Int32, Double, Char, Double, String)
Add a single row to the problem.
Public method AddRow(Int32, Double, Char, Double, Double, String)
Add a single row to the problem.
Public method AddRows(Int32, Int32, Char, Double, Int32, Int32, Double)
Allows rows to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddRows(Int32, Int64, Char, Double, Int64, Int32, Double)
Allows rows to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddRows(Int32, Int32, Char, Double, Double, Int32, Int32, Double)
Allows rows to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddRows(Int32, Int64, Char, Double, Double, Int64, Int32, Double)
Allows rows to be added to the matrix after passing it to the Optimizer using the input routines.
Public method AddSepnodeCallback(SepnodeCallback)
Public method AddSepnodeCallback(SepnodeCallback, Int32)
Public method AddSepnodeCallback(SepnodeCallback, Object)
Public method AddSepnodeCallback(SepnodeCallback, Object, Int32)
Public method AddSetNames
Add the given set names to the problem.
Public method AddSets(Int32, Int32, Char, Int32, Int32, Double)
Allows sets to be added to the problem after passing it to the Optimizer using the input routines.
Public method AddSets(Int32, Int64, Char, Int64, Int32, Double)
Allows sets to be added to the problem after passing it to the Optimizer using the input routines.
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback)
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Int32)
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Object)
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Object, Int32)
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback)
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Int32)
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Object)
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Object, Int32)
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback)
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Int32)
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Object)
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Object, Int32)
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback)
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Int32)
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Object)
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Object, Int32)
Public method AddSlpConstructCallback(SlpConstructCallback)
Public method AddSlpConstructCallback(SlpConstructCallback, Int32)
Public method AddSlpConstructCallback(SlpConstructCallback, Object)
Public method AddSlpConstructCallback(SlpConstructCallback, Object, Int32)
Public method AddSlpDrColCallback(SlpDrColCallback)
Public method AddSlpDrColCallback(SlpDrColCallback, Int32)
Public method AddSlpDrColCallback(SlpDrColCallback, Object)
Public method AddSlpDrColCallback(SlpDrColCallback, Object, Int32)
Public method AddSlpIntSolCallback(SlpIntSolCallback)
Public method AddSlpIntSolCallback(SlpIntSolCallback, Int32)
Public method AddSlpIntSolCallback(SlpIntSolCallback, Object)
Public method AddSlpIntSolCallback(SlpIntSolCallback, Object, Int32)
Public method AddSlpIterEndCallback(SlpIterEndCallback)
Public method AddSlpIterEndCallback(SlpIterEndCallback, Int32)
Public method AddSlpIterEndCallback(SlpIterEndCallback, Object)
Public method AddSlpIterEndCallback(SlpIterEndCallback, Object, Int32)
Public method AddSlpIterStartCallback(SlpIterStartCallback)
Public method AddSlpIterStartCallback(SlpIterStartCallback, Int32)
Public method AddSlpIterStartCallback(SlpIterStartCallback, Object)
Public method AddSlpIterStartCallback(SlpIterStartCallback, Object, Int32)
Public method AddSlpIterVarCallback(SlpIterVarCallback)
Public method AddSlpIterVarCallback(SlpIterVarCallback, Int32)
Public method AddSlpIterVarCallback(SlpIterVarCallback, Object)
Public method AddSlpIterVarCallback(SlpIterVarCallback, Object, Int32)
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback)
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Int32)
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Object)
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Object, Int32)
Public method AddUserSolNotifyCallback(UserSolNotifyCallback)
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Int32)
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Object)
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Object, Int32)
Public method Alter
Alters or changes matrix elements, right hand sides and constraint senses in the current problem.
Public method AnalyzeRows(Int32)
Convenience wrapper for AnalyzeRows(int[], int, int).
Public method AnalyzeRows(Int32, Int32)
Convenience wrapper for AnalyzeRows(int[], int, int).
Public method BasisCondition Obsolete.
Calculates the condition number of the current basis after solving the LP relaxation. *@deprecated
Public method BasisStability
Calculates various measures for the stability of the current basis, including the basis condition number.
Public method BinVar
Create a new binary variable.
Public method BinVar(String)
Create a new binary variablewith the specified name.
Public method BinVarArray(Int32, FuncInt32, String)
Create an array of binary variables.
Public method BinVarArrayT(ICollectionT, FuncT, String)
Create an array of binary variables. The function will create one variable for each of the objects listed in
objs
.
Public method BinVarMapT(ICollectionT, FuncT, String)
Create a map of binary variables. The function creates a new variable for each object in
objs
. It returns a hash map in which each object in
objs
maps to the index of the variable that was created for it.
Public method BinVarMapT(ICollectionT, FuncT, String, IDictionaryT, Int32)
Create a map of binary variables. The function creates a new variable for each object in
objs
. For each object o it puts the Pair (o, idx) into
map
where idx is the index of the variable that was created for o.
Public method Bndsa
Returns upper and lower sensitivity ranges for specified variables' lower and upper bounds. If the bounds are varied within these ranges the current basis remains optimal and feasible.
Public method BTran
Post-multiplies a (row) vector provided by the user by the inverse of the current basis.
Public method CalcObjective
Calculates the objective value of a given solution.
Public method CalcObjN
Calculates the objective value of the given objective function in a multi-objective problem.
Public method CalcReducedCosts
Calculates the reduced cost values for a given (row) dual solution.
Public method CalcSlacks
Calculates the row slack values for a given solution.
Public method CalcSolInfo
Calculates the required property of a solution, like maximum infeasibility of a given primal and dual solution.
Public method ChgBounds(Int32, Double, Double)
Change bounds of a single variable.
Public method ChgBounds(Int32, Int32, Char, Double)
Used to change the bounds on columns in the matrix.
Public method ChgCoef
Used to change a single coefficient in the matrix. If the coefficient does not already exist, a new coefficient will be added to the matrix. If many coefficients are being added to a row of the matrix, it may be more efficient to delete the old row of the matrix and add a new row.
Public method ChgColType(Int32, Char)
Convenience wrapper for ChgColType(int, int[], char[]).
Public method ChgColType(Int32, Int32, Char)
Public method ChgGlbLimit(Int32, Double)
Convenience wrapper for ChgGlbLimit(int, int[], double[]).
Public method ChgGlbLimit(Int32, Int32, Double)
Used to change semi-continuous or semi-integer lower bounds, or upper limits on partial integers.
Public method ChgLB
Change the lower bound of a single variable.
Public method ChgMCoef(Int32, Int32, Int32, Double)
Used to change multiple coefficients in the matrix. If any coefficient does not already exist, it will be added to the matrix. If many coefficients are being added to a row of the matrix, it may be more efficient to delete the old row of the matrix and add a new one.
Public method ChgMCoef(Int64, Int32, Int32, Double)
Used to change multiple coefficients in the matrix. If any coefficient does not already exist, it will be added to the matrix. If many coefficients are being added to a row of the matrix, it may be more efficient to delete the old row of the matrix and add a new one.
Public method ChgMQObj(Int32, Int32, Int32, Double)
Used to change multiple quadratic coefficients in the objective function. If any of the coefficients does not exist already, new coefficients will be added to the objective function.
Public method ChgMQObj(Int64, Int32, Int32, Double)
Used to change multiple quadratic coefficients in the objective function. If any of the coefficients does not exist already, new coefficients will be added to the objective function.
Public method ChgObj(Int32, Double)
Convenience wrapper for ChgObj(int, int[], double[]).
Public method ChgObj(Int32, Int32, Double)
Used to change the objective function coefficients.
Public method ChgObjN
Modifies one or more coefficients of an objective function in a multi-objective problem. If the objective already exists, any coefficients not present in the colind and objcoef arrays will unchanged. If the objective does not exist, it will be added to the problem.
Public method ChgObjSense(Int32)
Public method ChgObjSense(ObjSense)
Changes the problem's objective function sense to minimize or maximize.
Public method ChgQObj
Used to change a single quadratic coefficient in the objective function corresponding to the variable pair (objqcol1,objqcol2) of the Hessian matrix.
Public method ChgQRowCoeff
Changes a single quadratic coefficient in a row.
Public method ChgRHS(Int32, Double)
Convenience wrapper for ChgRHS(int, int[], double[]).
Public method ChgRHS(Int32, Int32, Double)
Used to change right—hand side values of the problem.
Public method ChgRHSRange(Int32, Double)
Convenience wrapper for ChgRHSRange(int, int[], double[]).
Public method ChgRHSRange(Int32, Int32, Double)
Used to change the range for a row of the problem matrix.
Public method ChgRowType(Int32, Char)
Convenience wrapper for ChgRowType(int, int[], char[]).
Public method ChgRowType(Int32, Int32, Char)
Used to change the type of a row in the matrix.
Public method ChgUB
Change the upper bound of a single variable.
Public method ClearIIS
Resets the search for Irreducible Infeasible Sets (IIS).
Public method ClearObjective
Clear the objective function.
Public method ClearRowFlags
Clears extra information attached to a range of rows.
Public method Clone
Create a copy of the problem, including controls and callbacks.
Public method ContVar
Create a continuous variable with default bounds [0, infinity].
Public method ContVar(String)
Create a continuous variable with default bounds [0, infinity] and a specified name.
Public method ContVar(Double, Double)
Create a continuous variable with specified bounds.
Public method ContVar(Double, Double, String)
Create a continuous variable with specified bounds and name.
Public method ContVarArray(Int32, Double, Double, FuncInt32, String)
Create an array of continuous variables. All the variables created by this function have the same types and bounds.
Public method ContVarArray(Int32, Double, Double, String)
Create an array of continuous variables.
Public method ContVarArray(Int32, FuncInt32, Double, FuncInt32, Double, FuncInt32, String)
Create an array of continuous variables.
Public method ContVarArrayT(ICollectionT, Double, Double, FuncT, String)
Create an array of continuous variables. All the variables created by this function have the same types and bounds. The function will create one variable for each of the objects listed in
objs
.
Public method ContVarArrayT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create an array of continuous variables. The function will create one variable for each of the objects listed in
objs
.
Public method ContVarMapT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create a map of continuous variables. The function creates a new variable for each object in
objs
. It returns a hash map in which each object in
objs
maps to the index of the variable that was created for it.
Public method ContVarMapT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String, IDictionaryT, Int32)
Create a map of continuous variables. The function creates a new variable for each object in
objs
. For each object o it puts the Pair (o, idx) into
map
where idx is the index of the variable that was created for o.
Public method CopyCallbacks
Copy callbacks to this XPRSprob from another
Public method CopyControls
Copies controls defined for one problem to another.
Public method CopyProb(XPRSprob)
Create a copy of the problem.
Public method CopyProb(XPRSprob, String)
Create a copy of the problem with the given name.
Public method CreateBranchObject
Public method CreateBranchObjectFromGlobal
Public method CrossoverLpSol
Provides a basic optimal solution for a given solution of an LP problem. This function behaves like the crossover after the barrier algorithm.
Public method DelCols
Delete columns from a matrix.
Public method DelCPCuts
During the branch and bound search, cuts are stored in the cut pool to be applied at descendant nodes. These cuts may be removed from a given node using delCuts, but if this is to be applied in a large number of cases, it may be preferable to remove the cut completely from the cut pool. This is achieved using delCPCuts.
Public method DelCPCuts(Int32, Cut)
During the branch and bound search, cuts are stored in the cut pool to be applied at descendant nodes. These cuts may be removed from a given node using delCuts, but if this is to be applied in a large number of cases, it may be preferable to remove the cut completely from the cut pool. This is achieved using delCPCuts.
Public method DelCPCuts(Int32, Int32)
During the branch and bound search, cuts are stored in the cut pool to be applied at descendant nodes. These cuts may be removed from a given node using delCuts, but if this is to be applied in a large number of cases, it may be preferable to remove the cut completely from the cut pool. This is achieved using delCPCuts.
Public method DelCPCuts(Int32, IntPtr) Obsolete.
Public method DelCPCuts(Int32, Int32, Int32, Cut)
During the branch and bound search, cuts are stored in the cut pool to be applied at descendant nodes. These cuts may be removed from a given node using delCuts, but if this is to be applied in a large number of cases, it may be preferable to remove the cut completely from the cut pool. This is achieved using delCPCuts.
Public method DelCPCuts(Int32, Int32, Int32, IntPtr) Obsolete.
Public method DelCuts(Int32)
Deletes cuts from the matrix at the current node. Cuts from the parent node which have been automatically restored may be deleted as well as cuts added to the current node using addCuts or loadCuts. The cuts to be deleted can be specified in a number of ways. If a cut is ruled out by any one of the criteria it will not be deleted.
Public method DelCuts(Int32, Int32, Cut)
Deletes cuts from the matrix at the current node. Cuts from the parent node which have been automatically restored may be deleted as well as cuts added to the current node using addCuts or loadCuts. The cuts to be deleted can be specified in a number of ways. If a cut is ruled out by any one of the criteria it will not be deleted.
Public method DelCuts(Int32, Int32, Int32)
Deletes cuts from the matrix at the current node. Cuts from the parent node which have been automatically restored may be deleted as well as cuts added to the current node using addCuts or loadCuts. The cuts to be deleted can be specified in a number of ways. If a cut is ruled out by any one of the criteria it will not be deleted.
Public method DelCuts(Int32, Int32, IntPtr) Obsolete.
Public method DelCuts(Int32, Int32, Int32, Double)
Deletes cuts from the matrix at the current node. Cuts from the parent node which have been automatically restored may be deleted as well as cuts added to the current node using addCuts or loadCuts. The cuts to be deleted can be specified in a number of ways. If a cut is ruled out by any one of the criteria it will not be deleted.
Public method DelCuts(Int32, Int32, Int32, Double, Int32, Cut)
Deletes cuts from the matrix at the current node. Cuts from the parent node which have been automatically restored may be deleted as well as cuts added to the current node using addCuts or loadCuts. The cuts to be deleted can be specified in a number of ways. If a cut is ruled out by any one of the criteria it will not be deleted.
Public method DelCuts(Int32, Int32, Int32, Double, Int32, IntPtr) Obsolete.
Public method DelGenCons
Delete general constraints from a problem.
Public method DelIndicators
Delete indicator constraints. This turns the specified rows into normal rows (not controlled by indicator variables).
Public method DelObj
Removes an objective function from a multi-objective problem. Any objectives with index > objidx will be shifted down. Deleting the last objective function in the problem causes all the objective coefficients to be zeroed, but OBJECTIVES remains set to 1.
Public method DelPwlCons
Delete piecewise linear constraints from a problem.
Public method DelQMatrix
Deletes the quadratic part of a row or of the objective function.
Public method DelRows
Delete rows from a matrix.
Public method DelSets
Delete sets from a problem.
Public method Destroy Obsolete.
Destroy the problem, freeing all native resources used. Equivalent to calling Dipose().
(Overrides XPRSobjectDestroy.)
Public method Dispose (Inherited from XPRSobject.)
Public method DumpControls
Displays the list of controls and their current value for those controls that have been set to a non default value.
Public method Equals (Inherited from XPRSobject.)
Public method EstimateRowDualRanges
Performs a dual side range sensitivity analysis, i.e. calculates estimates for the possible ranges for dual values.
Protected method Finalize (Inherited from XPRSobject.)
Public method FirstIIS(Int32)
Initiates a search for an Irreducible Infeasible Set (IIS) in an infeasible problem.
Public method FirstIIS(Int32, Int32)
Initiates a search for an Irreducible Infeasible Set (IIS) in an infeasible problem.
Public method FixGlobals Obsolete.
Public method FixMIPEntities
Fixes all the MIP entities to the values of the last found MIP solution. This is useful for finding the reduced costs for the continuous variables after the integer variables have been fixed to their optimal values.
Public method FTran
Pre-multiplies a (column) vector provided by the user by the inverse of the current matrix.
Public method GetAttribInfo
Accesses the id number and the type information of an attribute given its name. An attribute name may be for example XPRS_ROWS. Names are case-insensitive and may or may not have the XPRS_ prefix. The id number is the constant used to identify the attribute for calls to functions such as getIntAttrib. The type information returned will be one of the below integer constants defined in the xprs.h header file. The function will return an id number of 0 and a type value of XPRS_TYPE_NOTDEFINED if the name is not recognized as an attribute name. Note that this will occur if the name is a control name and not an attribute name.
Public method GetBarNumStability
Public method GetBasis
Returns the current basis into the user's data arrays.
Public method GetBasisVal
Returns the current basis status for a specific column or row.
Public method GetCoef(Int32, Int32)
Returns a single coefficient in the constraint matrix.
Public method GetCoef(Int32, Int32, Double)
Returns a single coefficient in the constraint matrix.
Public method GetCols(Int32, Int32, Double, Int32, Int32, Int32)
Returns the nonzeros in the constraint matrix for the columns in a given range.
Public method GetCols(Int64, Int32, Double, Int64, Int32, Int32)
Returns the nonzeros in the constraint matrix for the columns in a given range.
Public method GetCols(Int32, Int32, Double, Int32, Int32, Int32, Int32)
Returns the nonzeros in the constraint matrix for the columns in a given range.
Public method GetCols(Int64, Int32, Double, Int64, Int64, Int32, Int32)
Returns the nonzeros in the constraint matrix for the columns in a given range.
Public method GetColType(Int32)
Convenience wrapper for GetColType(char[], int, int).
Public method GetColType(Int32, Int32)
Convenience wrapper for GetColType(char[], int, int).
Public method GetColType(Char, Int32, Int32)
Returns the column types for the columns in a given range.
Public method GetColumnName
Get a column name.
Public method GetColumnNames
Get names of columns.
Public method GetControlInfo
Accesses the id number and the type information of a control given its name. A control name may be for example XPRS_PRESOLVE. Names are case-insensitive and may or may not have the XPRS_ prefix. The id number is the constant used to identify the control for calls to functions such as getIntControl. The function will return an id number of 0 and a type value of XPRS_TYPE_NOTDEFINED if the name is not recognized as a control name. Note that this will occur if the name is an attribute name and not a control name.
Public method GetCPCutList(Int32, Cut, Double)
Returns a list of cut indices from the cut pool.
Public method GetCPCutList(Int32, IntPtr, Double) Obsolete.
Public method GetCPCutList(Int32, Int32, Double, Int32, Cut, Double)
Returns a list of cut indices from the cut pool.
Public method GetCPCutList(Int32, Int32, Double, Int32, IntPtr, Double) Obsolete.
Public method GetCPCutList(Int32, Int32, Double, Int32, Int32, Cut, Double)
Returns a list of cut indices from the cut pool.
Public method GetCPCutList(Int32, Int32, Double, Int32, Int32, IntPtr, Double) Obsolete.
Public method GetCPCuts(IntPtr, Int32, Int32, Int32, Char, Int32, Int32, Double, Double) Obsolete.
Public method GetCPCuts(Cut, Int32, Int32, Int32, Char, Int32, Int32, Double, Double)
Returns cuts from the cut pool. A list of cut pointers in the array rowind must be passed to the routine. The columns and elements of the cut will be returned in the regions pointed to by the colind and cutcoef parameters. The columns and elements will be stored contiguously and the starting point of each cut will be returned in the region pointed to by the start parameter.
Public method GetCPCuts(Cut, Int32, Int64, Int32, Char, Int64, Int32, Double, Double)
Returns cuts from the cut pool. A list of cut pointers in the array rowind must be passed to the routine. The columns and elements of the cut will be returned in the regions pointed to by the colind and cutcoef parameters. The columns and elements will be stored contiguously and the starting point of each cut will be returned in the region pointed to by the start parameter.
Public method GetCutList(Int32, Cut)
Retrieves a list of cut pointers for the cuts active at the current node.
Public method GetCutList(Int32, IntPtr) Obsolete.
Public method GetCutList(Int32, Int32, Int32, Cut)
Retrieves a list of cut pointers for the cuts active at the current node.
Public method GetCutList(Int32, Int32, Int32, IntPtr) Obsolete.
Public method GetCutList(Int32, Int32, Int32, Int32, Cut)
Retrieves a list of cut pointers for the cuts active at the current node.
Public method GetCutList(Int32, Int32, Int32, Int32, IntPtr) Obsolete.
Public method GetCutMap
Used to return in which rows a list of cuts are currently loaded into the Optimizer. This is useful for example to retrieve the duals associated with active cuts.
Public method GetCutSlack
Used to calculate the slack value of a cut with respect to the current LP relaxation solution. The slack is calculated from the cut itself, and might be requested for any cut (even if it is not currently loaded into the problem).
Public method GetDblAttrib(Int32)
Enables users to retrieve the values of various double problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetDblAttrib(Int32, Double)
Enables users to retrieve the values of various double problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetDblControl(Int32)
Retrieves the value of a given double control parameter.
Public method GetDblControl(Int32, Double)
Retrieves the value of a given double control parameter.
Public method GetDirs
Used to return the directives that have been loaded into a matrix. Priorities, forced branching directions and pseudo costs can be returned. If called after presolve, getDirs will get the directives for the presolved problem.
Public method GetDirs(Int32, Int32, Char, Double, Double)
Used to return the directives that have been loaded into a matrix. Priorities, forced branching directions and pseudo costs can be returned. If called after presolve, getDirs will get the directives for the presolved problem.
Public method GetDirs(Int32, Int32, Int32, Char, Double, Double)
Used to return the directives that have been loaded into a matrix. Priorities, forced branching directions and pseudo costs can be returned. If called after presolve, getDirs will get the directives for the presolved problem.
Public method GetDualRay
Retrieves a dual ray (dual unbounded direction) for the current problem, if the problem is found to be infeasible.
Public method GetDuals
Used to obtain the dual values following optimization with optimize.
Public method GetGenCons(GenConsType, Int32, Int32, Int32, Int32, Int32, Int32, Double, Int32, Int32, Int32, Int32)
Returns the general constraints y = f(x1, ..., xn, c1, ..., cm) in a given range.
Public method GetGenCons(GenConsType, Int32, Int64, Int32, Int64, Int64, Int64, Double, Int64, Int64, Int32, Int32)
Returns the general constraints y = f(x1, ..., xn, c1, ..., cm) in a given range.
Public method GetGenConsName
Get a general constraint name.
Public method GetGenConsNames
Get names of general constraints.
Public method GetGlobal Obsolete.
Public method GetHashCode (Inherited from XPRSobject.)
Public method GetIIS(Int32, Int32)
Public method GetIIS(Int32, Int32, Int32, Int32)
Public method GetIISData
Returns information for an Irreducible Infeasible Set: size, variables (row and column vectors) and conflicting sides of the variables, duals and reduced costs.
Public method GetIndex(Int32, String)
Returns the index for a specified row or column name.
Public method GetIndex(Int32, String, Int32)
Returns the index for a specified row or column name.
Public method GetIndicators
Returns the indicator constraint condition (indicator variable and complement flag) associated to the rows in a given range.
Public method GetInfeas
Returns a list of infeasible primal and dual variables.
Public method GetIntAttrib(Int32)
Enables users to recover the values of various integer problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetIntAttrib(Int32, Int32)
Enables users to recover the values of various integer problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetIntControl(Int32)
Enables users to recover the values of various integer control parameters
Public method GetIntControl(Int32, Int32)
Enables users to recover the values of various integer control parameters
Public method GetLastBarSol
Get a solution.
Public method GetLastBarSol(Double, Double, Double, Double, Int32)
Used to obtain the last barrier solution values following optimization that used the barrier solver.
Public method GetLastBarSolDjs
Get the djs values of a solution.
Public method GetLastBarSolDuals
Get the duals values of a solution.
Public method GetLastBarSolSlack
Get the slack values of a solution.
Public method GetLastBarSolX
Get the x values of a solution.
Public method GetLastError
Returns the error message corresponding to the last error encountered by a library function.
(Overrides XPRSobjectGetLastError.)
Public method GetLastError(String)
Returns the error message corresponding to the last error encountered by a library function.
Public method GetLB(Int32)
Convenience wrapper for GetLB(double[], int, int).
Public method GetLB(Int32, Int32)
Convenience wrapper for GetLB(double[], int, int).
Public method GetLB(Double, Int32, Int32)
Returns the lower bounds for the columns in a given range.
Public method GetLongAttrib(Int32)
Enables users to recover the values of various integer problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetLongAttrib(Int32, Int64)
Enables users to recover the values of various integer problem attributes. Problem attributes are set during loading and optimization of a problem.
Public method GetLongControl(Int32)
Enables users to recover the values of various integer control parameters
Public method GetLongControl(Int32, Int64)
Enables users to recover the values of various integer control parameters
Public method GetLpSol
Get a solution.
Public method GetLpSol(Double)
Used to obtain the LP solution values following optimization.
Public method GetLpSol(Double, Double, Double, Double)
Used to obtain the LP solution values following optimization.
Public method GetLpSolDjs
Get the djs values of a solution.
Public method GetLpSolDuals
Get the duals values of a solution.
Public method GetLpSolSlack
Get the slack values of a solution.
Public method GetLpSolVal
Used to obtain a single LP solution value following optimization.
Public method GetLpSolValue Obsolete.
Public method GetLpSolX
Get the x values of a solution.
Public method GetMessageStatus(Int32)
Retrieves the current suppression status of a message.
Public method GetMessageStatus(Int32, Int32)
Retrieves the current suppression status of a message.
Public method GetMIPEntities(Char, Int32, Double)
Retrieves integr and entity information about a problem. It must be called before mipOptimize if the presolve option is used.
Public method GetMIPEntities(Int32, Char, Int32, Double)
Retrieves integr and entity information about a problem. It must be called before mipOptimize if the presolve option is used.
Public method GetMIPEntities(Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double)
Retrieves integr and entity information about a problem. It must be called before mipOptimize if the presolve option is used.
Public method GetMIPEntities(Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double)
Retrieves integr and entity information about a problem. It must be called before mipOptimize if the presolve option is used.
Public method GetMipSol
Get a solution.
Public method GetMipSol(Double)
Used to obtain the solution values of the last MIP solution that was found.
Public method GetMipSol(Double, Double)
Used to obtain the solution values of the last MIP solution that was found.
Public method GetMipSolSlack
Get the slack values of a solution.
Public method GetMipSolVal
Used to obtain a single solution value of the last MIP solution that was found.
Public method GetMipSolValue Obsolete.
Public method GetMipSolX
Get the x values of a solution.
Public method GetMQObj(Int32, Int32) Obsolete.
Public method GetMQObj(Int32, Int32, Int32) Obsolete.
Public method GetMQObj(Int32, Int32, Double, Int32, Int32, Int32)
Returns the nonzeros in the quadratic objective coefficients matrix for the columns in a given range. To achieve maximum efficiency, getMQObj returns the lower triangular part of this matrix only.
Public method GetMQObj(Int64, Int32, Double, Int64, Int32, Int32)
Returns the nonzeros in the quadratic objective coefficients matrix for the columns in a given range. To achieve maximum efficiency, getMQObj returns the lower triangular part of this matrix only.
Public method GetMQObj(Int32, Int32, Double, Int32, Int32, Int32, Int32)
Returns the nonzeros in the quadratic objective coefficients matrix for the columns in a given range. To achieve maximum efficiency, getMQObj returns the lower triangular part of this matrix only.
Public method GetMQObj(Int64, Int32, Double, Int64, Int64, Int32, Int32)
Returns the nonzeros in the quadratic objective coefficients matrix for the columns in a given range. To achieve maximum efficiency, getMQObj returns the lower triangular part of this matrix only.
Public method GetName
Get the name of a single element.
Public method GetNameList(Int32, Int32, Int32)
Get the given row, column or set names for the given range.
Public method GetNameList(Int32, String, Int32, Int32)
Get the given row, column or set names for the given range.
Public method GetNameListObject
Public method GetNames(Int32, Int32, Int32)
Get names. Retrieves names for a certain type of objects.
Public method GetNames(Int32, String, Int32, Int32)
Get the given row, column or set names for the given range.
Public method GetNlpsol
Public method GetObj(Int32)
Convenience wrapper for GetObj(double[], int, int).
Public method GetObj(Int32, Int32)
Convenience wrapper for GetObj(double[], int, int).
Public method GetObj(Double, Int32, Int32)
Returns the objective function coefficients for the columns in a given range.
Public method GetObjDblAttrib
Retrieves the value of a given double attribute associated with a multi-objective solve. When solving a multi-objective problem, several objectives might be optimized in sequence. After each solve, the problem attributes are captured so that they can be queried afterwards.
Public method GetObjDblControl
Retrieves the value of a given double control parameter associated with an objective function. These parameters control how the objective is treated during multi-objective optimization.
Public method GetObjectTypeName
Function to access the type name of an object referenced using the generic Optimizer object pointer XPRSobject.
(Inherited from XPRSobject.)
Public method GetObjIntAttrib(Int32, Int32, Int32)
Retrieves the value of a given integer attribute associated with a multi-objective solve. When solving a multi-objective problem, several objectives might be optimized in sequence. After each solve, the problem attributes are captured so that they can be queried afterwards.
Public method GetObjIntAttrib(Int32, Int32, Int64)
Retrieves the value of a given integer attribute associated with a multi-objective solve. When solving a multi-objective problem, several objectives might be optimized in sequence. After each solve, the problem attributes are captured so that they can be queried afterwards.
Public method GetObjIntControl
Retrieves the value of a given integer control parameter associated with an objective. These parameters control how the objective is treated during multi-objective optimization.
Public method GetObjN
For a given objective function, returns the objective coefficients for the columns in a given range.
Public method GetPivotOrder
Returns the pivot order of the basic variables.
Public method GetPivots
Returns a list of potential leaving variables if a specified variable enters the basis.
Public method GetPresolveBasis
Returns the current basis from memory into the user's data areas. If the problem is presolved, the presolved basis will be returned. Otherwise the original basis will be returned.
Public method GetPresolveMap
Returns the mapping of the row and column numbers from the presolve problem back to the original problem.
Public method GetPresolveSol
Get a solution.
Public method GetPresolveSol(Double)
Returns the solution for the presolved problem from memory.
Public method GetPresolveSol(Double, Double, Double, Double)
Returns the solution for the presolved problem from memory.
Public method GetPresolveSolDjs
Get the djs values of a solution.
Public method GetPresolveSolDuals
Get the duals values of a solution.
Public method GetPresolveSolSlack
Get the slack values of a solution.
Public method GetPresolveSolX
Get the x values of a solution.
Public method GetPrimalRay
Retrieves a primal ray (primal unbounded direction) for the current problem, if the problem is found to be unbounded.
Public method GetProbName
Returns the current problem name.
Public method GetProbName(String)
Returns the current problem name.
Public method GetPwlCons(Int32, Int32, Int32, Double, Double, Int32, Int32, Int32, Int32)
Returns the piecewise linear constraints y = f(x) in a given range.
Public method GetPwlCons(Int32, Int32, Int64, Double, Double, Int64, Int64, Int32, Int32)
Returns the piecewise linear constraints y = f(x) in a given range.
Public method GetPWLName
Get a PWL constraint name.
Public method GetPWLNames
Get names of PWL constraints.
Public method GetQObj(Int32, Int32)
Returns a single quadratic objective function coefficient corresponding to the variable pair (objqcol1, objqcol2) of the Hessian matrix.
Public method GetQObj(Int32, Int32, Double)
Returns a single quadratic objective function coefficient corresponding to the variable pair (objqcol1, objqcol2) of the Hessian matrix.
Public method GetQRowCoeff(Int32, Int32, Int32)
Returns a single quadratic constraint coefficient corresponding to the variable pair (rowqcol1, rowqcol2) of the Hessian of a given constraint.
Public method GetQRowCoeff(Int32, Int32, Int32, Double)
Returns a single quadratic constraint coefficient corresponding to the variable pair (rowqcol1, rowqcol2) of the Hessian of a given constraint.
Public method GetQRowQMatrix(Int32, Int32, Int32, Double, Int32, Int32, Int32)
Returns the nonzeros in a quadratic constraint coefficients matrix for the columns in a given range. To achieve maximum efficiency, getQRowQMatrix returns the lower triangular part of this matrix only.
Public method GetQRowQMatrix(Int32, Int32, Int32, Double, Int32, Int32, Int32, Int32)
Returns the nonzeros in a quadratic constraint coefficients matrix for the columns in a given range. To achieve maximum efficiency, getQRowQMatrix returns the lower triangular part of this matrix only.
Public method GetQRowQMatrixTriplets(Int32, Int32, Int32, Double)
Returns the nonzeros in a quadratic constraint coefficients matrix as triplets (index pairs with coefficients). To achieve maximum efficiency, getQRowQMatrixTriplets returns the lower triangular part of this matrix only.
Public method GetQRowQMatrixTriplets(Int32, Int32, Int32, Int32, Double)
Returns the nonzeros in a quadratic constraint coefficients matrix as triplets (index pairs with coefficients). To achieve maximum efficiency, getQRowQMatrixTriplets returns the lower triangular part of this matrix only.
Public method GetQRows
Returns the list indices of the rows that have quadratic coefficients.
Public method GetQRows(Int32)
Returns the list indices of the rows that have quadratic coefficients.
Public method GetQRows(Int32, Int32)
Returns the list indices of the rows that have quadratic coefficients.
Public method GetRedCosts
Used to obtain the reduced cost values following optimization with optimize.
Public method GetRHS(Int32)
Convenience wrapper for GetRHS(double[], int, int).
Public method GetRHS(Int32, Int32)
Convenience wrapper for GetRHS(double[], int, int).
Public method GetRHS(Double, Int32, Int32)
Returns the right hand side elements for the rows in a given range.
Public method GetRHSRange(Int32)
Convenience wrapper for GetRHSRange(double[], int, int).
Public method GetRHSRange(Int32, Int32)
Convenience wrapper for GetRHSRange(double[], int, int).
Public method GetRHSRange(Double, Int32, Int32)
Returns the right hand side range values for the rows in a given range.
Public method GetRowFlags(Int32)
Convenience wrapper for GetRowFlags(int[], int, int).
Public method GetRowFlags(Int32, Int32)
Convenience wrapper for GetRowFlags(int[], int, int).
Public method GetRowFlags(Int32, Int32, Int32)
Retrieve if a range of rows have been set up as special rows.
Public method GetRowName
Get a row name.
Public method GetRowNames
Get names of rows.
Public method GetRows(Int32, Int32, Double, Int32, Int32, Int32)
Returns the nonzeros in the constraint matrix for the rows in a given range.
Public method GetRows(Int64, Int32, Double, Int64, Int32, Int32)
Returns the nonzeros in the constraint matrix for the rows in a given range.
Public method GetRows(Int32, Int32, Double, Int32, Int32, Int32, Int32)
Returns the nonzeros in the constraint matrix for the rows in a given range.
Public method GetRows(Int64, Int32, Double, Int64, Int64, Int32, Int32)
Returns the nonzeros in the constraint matrix for the rows in a given range.
Public method GetRowType(Int32)
Convenience wrapper for GetRowType(char[], int, int).
Public method GetRowType(Int32, Int32)
Convenience wrapper for GetRowType(char[], int, int).
Public method GetRowType(Char, Int32, Int32)
Returns the row types for the rows in a given range.
Public method GetScaledInfeas
Returns a list of scaled infeasible primal and dual variables for the original problem. If the problem is currently presolved, it is postsolved before the function returns.
Public method GetSetName
Get a Set (SOS) name.
Public method GetSetNames
Get names of Sets (SOS).
Public method GetSlacks
Used to obtain the slack values following optimization with optimize.
Public method GetSol
Get a solution.
Public method GetSol(Double) Obsolete.
Public method GetSol(Double, Double, Double, Double) Obsolete.
Public method GetSolDjs
Get the djs values of a solution.
Public method GetSolDuals
Get the duals values of a solution.
Public method GetSolSlack
Get the slack values of a solution.
Public method GetSolution
Used to obtain the solution following optimization with optimize.
Public method GetSolX
Get the x values of a solution.
Public method GetStrAttrib(Int32)
Get the current value of a string attribute
Public method GetStrAttrib(Int32, String)
Get the current value of a string attribute
Public method GetStrControl(Int32)
Get the current value of a string control
Public method GetStrControl(Int32, String)
Get the current value of a string control
Public method GetStringControl
Public method GetStrStringAttrib
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetUB(Int32)
Convenience wrapper for GetUB(double[], int, int).
Public method GetUB(Int32, Int32)
Convenience wrapper for GetUB(double[], int, int).
Public method GetUB(Double, Int32, Int32)
Returns the upper bounds for the columns in a given range.
Public method GetUnbVec
Returns the index vector which causes the primal simplex or dual simplex algorithm to determine that a matrix is primal or dual unbounded respectively.
Public method GetUnbVec(Int32)
Returns the index vector which causes the primal simplex or dual simplex algorithm to determine that a matrix is primal or dual unbounded respectively.
Public method IISAll
Performs an automated search for independent Irreducible Infeasible Sets (IIS) in an infeasible problem.
Public method IISIsolations
Performs the isolation identification procedure for an Irreducible Infeasible Set (IIS).
Public method IISStatus
Returns statistics on the Irreducible Infeasible Sets (IIS) found so far by firstIIS (IIS), nextIIS (IIS-n) or iISAll (IIS-a).
Public method Interrupt
Interrupts the Optimizer algorithms.
Public method Interrupt(StopType)
Interrupts the Optimizer algorithms.
Public method IntVar
Create a new integer variable with default bounds [0, infinity].
Public method IntVar(String)
Create a new integer variable with default bounds [0, infinity] and a specified name.
Public method IntVar(Double, Double)
Create a new integer variable with specified bounds.
Public method IntVar(Double, Double, String)
Create a new integer variable with specified bounds and name.
Public method IntVarArray(Int32, Double, Double, FuncInt32, String)
Create an array of integer variables. All the variables created by this function have the same types and bounds.
Public method IntVarArray(Int32, Double, Double, String)
Create an array of integer variables.
Public method IntVarArray(Int32, FuncInt32, Double, FuncInt32, Double, FuncInt32, String)
Create an array of integer variables.
Public method IntVarArrayT(ICollectionT, Double, Double, FuncT, String)
Create an array of integer variables. All the variables created by this function have the same types and bounds. The function will create one variable for each of the objects listed in
objs
.
Public method IntVarArrayT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create an array of integer variables. The function will create one variable for each of the objects listed in
objs
.
Public method IntVarMapT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create a map of integer variables. The function creates a new variable for each object in
objs
. It returns a hash map in which each object in
objs
maps to the index of the variable that was created for it.
Public method IntVarMapT(ICollectionT, FuncT, Double, FuncT, Double, FuncT, String, IDictionaryT, Int32)
Create a map of integer variables. The function creates a new variable for each object in
objs
. For each object o it puts the Pair (o, idx) into
map
where idx is the index of the variable that was created for o.
Public method LoadBasis
Loads a basis from the user's areas.
Public method LoadBranchDirs(Int32, Int32)
Convenience wrapper for LoadBranchDirs(int, int[], int[]).
Public method LoadBranchDirs(Int32, Int32, Int32)
Loads directives into the current problem to specify which MIP entities the Optimizer should continue to branch on when a node solution is integer feasible.
Public method LoadCuts(Int32, Cut)
Loads cuts from the cut pool into the matrix. Without calling loadCuts the cuts will remain in the cut pool but will not be active at the node. Cuts loaded at a node remain active at all descendant nodes unless they are deleted using delCuts.
Public method LoadCuts(Int32, Int32)
Loads cuts from the cut pool into the matrix. Without calling loadCuts the cuts will remain in the cut pool but will not be active at the node. Cuts loaded at a node remain active at all descendant nodes unless they are deleted using delCuts.
Public method LoadCuts(Int32, IntPtr) Obsolete.
Public method LoadCuts(Int32, Int32, Int32, Cut)
Loads cuts from the cut pool into the matrix. Without calling loadCuts the cuts will remain in the cut pool but will not be active at the node. Cuts loaded at a node remain active at all descendant nodes unless they are deleted using delCuts.
Public method LoadCuts(Int32, Int32, Int32, IntPtr) Obsolete.
Public method LoadDelayedRows
Specifies that a set of rows in the matrix will be treated as delayed rows during a tree search. These are rows that must be satisfied for any integer solution, but will not be loaded into the active set of constraints until required.
Public method LoadDirs
Loads directives into the matrix.
Public method LoadGlobal(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double) Obsolete.
Public method LoadGlobal(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double) Obsolete.
Public method LoadLP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double)
Enables the user to pass a matrix directly to the Optimizer, rather than reading the matrix from a file.
Public method LoadLP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double)
Enables the user to pass a matrix directly to the Optimizer, rather than reading the matrix from a file.
Public method LoadLPSol
Loads an LP solution for the problem into the Optimizer.
Public method LoadMIP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double)
Used to load a MIP problem into the Optimizer data structures. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadMIP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double)
Used to load a MIP problem into the Optimizer data structures. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadMipSol(Double)
Loads a starting MIP solution for the problem into the Optimizer.
Public method LoadMipSol(Double, Int32)
Loads a starting MIP solution for the problem into the Optimizer.
Public method LoadMIQCQP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double, Int32, Int32, Int32, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double)
Used to load a mixed integer quadratic problem with quadratic constraints into the Optimizer data structure. Such a problem may have quadratic terms in its objective function as well as in its constraints. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadMIQCQP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double, Int32, Int32, Int64, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double)
Used to load a mixed integer quadratic problem with quadratic constraints into the Optimizer data structure. Such a problem may have quadratic terms in its objective function as well as in its constraints. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadMIQP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double)
Used to load a MIQP problem, hence a MIP with quadratic objective coefficients, into the Optimizer data structures. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadMIQP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double)
Used to load a MIQP problem, hence a MIP with quadratic objective coefficients, into the Optimizer data structures. Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
Public method LoadModelCuts
Specifies that a set of rows in the matrix will be treated as model cuts.
Public method LoadPresolveBasis
Loads a presolved basis from the user's areas.
Public method LoadPresolveDirs
Loads directives into the presolved matrix.
Public method LoadQCQP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double, Int32, Int32, Int32, Int32, Int32, Double)
Used to load a quadratic problem with quadratic side constraints into the Optimizer data structure. Such a problem may have quadratic terms in its objective function as well as in its constraints.
Public method LoadQCQP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double, Int32, Int32, Int64, Int32, Int32, Double)
Used to load a quadratic problem with quadratic side constraints into the Optimizer data structure. Such a problem may have quadratic terms in its objective function as well as in its constraints.
Public method LoadQCQPGlobal(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double, Int32, Int32, Int32, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double) Obsolete.
Public method LoadQCQPGlobal(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double, Int32, Int32, Int64, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double) Obsolete.
Public method LoadQGlobal(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int32, Int32, Double) Obsolete.
Public method LoadQGlobal(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double, Int32, Int32, Char, Int32, Double, Char, Int64, Int32, Double) Obsolete.
Public method LoadQP(String, Int32, Int32, Char, Double, Double, Double, Int32, Int32, Int32, Double, Double, Double, Int32, Int32, Int32, Double)
Used to load a quadratic problem into the Optimizer data structure. Such a problem may have quadratic terms in its objective function, although not in its constraints.
Public method LoadQP(String, Int32, Int32, Char, Double, Double, Double, Int64, Int32, Int32, Double, Double, Double, Int64, Int32, Int32, Double)
Used to load a quadratic problem into the Optimizer data structure. Such a problem may have quadratic terms in its objective function, although not in its constraints.
Public method LoadSecureVecs
Allows the user to mark rows and columns in order to prevent the presolve removing these rows and columns from the matrix.
Public method LpOptimize
This function begins a search for the optimal continuous (LP) solution. The direction of optimization is given by OBJSENSE. The status of the problem when the function completes can be checked using LPSTATUS. Any MIP entities in the problem will be ignored.
Public method LpOptimize(String)
This function begins a search for the optimal continuous (LP) solution. The direction of optimization is given by OBJSENSE. The status of the problem when the function completes can be checked using LPSTATUS. Any MIP entities in the problem will be ignored.
Public method Maxim Obsolete.
Begins a search for the optimal LP solution. *@deprecated
Public method Maxim(String) Obsolete.
Begins a search for the optimal LP solution. *@deprecated
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Minim Obsolete.
Public method Minim(String) Obsolete.
Public method MipOptimize
This function begins a tree search for the optimal MIP solution. The direction of optimization is given by OBJSENSE. The status of the problem when the function completes can be checked using MIPSTATUS.
Public method MipOptimize(String)
This function begins a tree search for the optimal MIP solution. The direction of optimization is given by OBJSENSE. The status of the problem when the function completes can be checked using MIPSTATUS.
Public method MsAddCustomPreset
Public method MsAddJob
Public method MsAddPreset
Public method MsClear
Public method NextIIS
Continues the search for further Irreducible Infeasible Sets (IIS), or calls firstIIS (IIS) if no IIS has been identified yet.
Public method NextIIS(Int32)
Continues the search for further Irreducible Infeasible Sets (IIS), or calls firstIIS (IIS) if no IIS has been identified yet.
Public method NlpAddFormulas
Public method NlpAddUserFunction(String, Int32, XPRSprobMapDeltaFunctor)
Public method NlpAddUserFunction(String, Int32, XPRSprobMapFunctor)
Public method NlpAddUserFunction(String, Int32, Int32, XPRSprobVecMapDeltaFunctor)
Public method NlpAddUserFunction(String, Int32, Int32, XPRSprobVecMapFunctor)
Public method NlpAddUserFunction(String, Int32, Int32, Int32, XPRSprobMultiMapDeltaFunctor)
Public method NlpAddUserFunction(String, Int32, Int32, Int32, XPRSprobMultiMapFunctor)
Public method NlpCalcSlacks
Public method NlpChgFormula
Public method NlpChgFormulaString
Public method NlpChgObjFormula(Int32, Double)
Convenience wrapper for NlpChgObjFormula(int, int[], double[]).
Public method NlpChgObjFormula(Int32, Int32, Double)
Public method NlpChgObjFormulaString
Public method NlpCurrentIV
Public method NlpDelFormulas
Public method NlpDelObjFormula
Public method NlpDelUserFunction
Public method NlpEvaluateFormula
Public method NlpGetFormula
Public method NlpGetFormulaRows
Public method NlpGetFormulaString
Public method NlpGetObjFormula
Public method NlpGetObjFormulaString
Public method NlpImportLibFunc
Public method NlpLoadFormulas
Public method NlpOptimize
Public method NlpPostsolveProb
Public method NlpPrintEvalInfo
Public method NlpSetFunctionError
Public method NlpSetInitVal(Int32, Double)
Convenience wrapper for NlpSetInitVal(int, int[], double[]).
Public method NlpSetInitVal(Int32, Int32, Double)
Public method NlpValidate
Public method NlpValidateKKT
Public method NlpValidateRow
Public method NlpValidateVector
Public method Objsa
Returns upper and lower sensitivity ranges for specified objective function coefficients. If the objective coefficients are varied within these ranges the current basis remains optimal and the reduced costs remain valid.
Public method Optimize
Convenience wrapper for .Optimize(string, out int, out int). This function calls
optimize
with default arguments and returns the solve status. The solution status is returned and must be queried explicitly afterwards using the corresponding attribute. See the documentation of the overloaded function for more details.
Public method Optimize(String)
Convenience wrapper for .Optimize(string, out int, out int). This function calls
optimize
with the specified flags and returns the solve status. The solution status is returned and must be queried explicitly afterwards using the corresponding attribute. See the documentation of the overloaded function for more details.
Public method Optimize(String, Int32, Int32)
This function begins a search for the optimal solution of the problem. The direction of optimization is given by OBJSENSE.
Public method Pivot
Performs a simplex pivot by bringing variable enter into the basis and removing leave.
Public method PostSolve
Postsolve the current matrix when it is in a presolved state.
Public method PostSolveSol
Postsolves a primal solution formulated in the presolved space into the corresponding solution formulated in the original space. The problem itself is unchanged.
Public method PresolveRow(XPRSprobRowInfo)
Presolve a row. The function transforms a row that is given in terms of the original model to a row that is given in terms of the presolved model.
Public method PresolveRow(Int32, Double, Char, Double)
Presolve a row. The function transforms a row that is given in terms of the original model to a row that is given in terms of the presolved model.
Public method PresolveRow(Char, Int32, Int32, Double, Double, Int32, Int32, Int32, Double, Double, Int32)
Presolves a row formulated in terms of the original variables such that it can be added to a presolved matrix.
Public method ReadBasis
Instructs the Optimizer to read in a previously saved basis from a file.
Public method ReadBasis(String)
Instructs the Optimizer to read in a previously saved basis from a file.
Public method ReadBasis(String, String)
Instructs the Optimizer to read in a previously saved basis from a file.
Public method ReadBinSol
Reads a solution from a binary solution file.
Public method ReadBinSol(String)
Reads a solution from a binary solution file.
Public method ReadBinSol(String, String)
Reads a solution from a binary solution file.
Public method ReadDirs
Reads a directives file to help direct the tree search.
Public method ReadDirs(String)
Reads a directives file to help direct the tree search.
Public method ReadProb(String)
Reads an (X)MPS or LP format matrix from file.
Public method ReadProb(String, String)
Reads an (X)MPS or LP format matrix from file.
Public method ReadSlxSol
Reads an ASCII solution file [.slx] created by the writeSlxSol function.
Public method ReadSlxSol(String)
Reads an ASCII solution file [.slx] created by the writeSlxSol function.
Public method ReadSlxSol(String, String)
Reads an ASCII solution file [.slx] created by the writeSlxSol function.
Public method RefineMipSol Obsolete.
Executes the MIP solution refiner. *@deprecated
Public method RemoveAfterObjectiveCallback
Public method RemoveAfterObjectiveCallbacks
Public method RemoveBarIterationCallback
Public method RemoveBarIterationCallbacks
Public method RemoveBarlogCallback
Public method RemoveBarlogCallbacks
Public method RemoveBeforeObjectiveCallback
Public method RemoveBeforeObjectiveCallbacks
Public method RemoveBeforeSolveCallback
Public method RemoveBeforeSolveCallbacks
Public method RemoveChangeBranchObjectCallback
Public method RemoveChangeBranchObjectCallbacks
Public method RemoveCheckTimeCallback
Public method RemoveCheckTimeCallbacks
Public method RemoveChgbranchCallback
Public method RemoveChgbranchCallbacks
Public method RemoveChgnodeCallback
Public method RemoveChgnodeCallbacks
Public method RemoveComputeRestartCallback
Public method RemoveComputeRestartCallbacks
Public method RemoveCutlogCallback
Public method RemoveCutlogCallbacks
Public method RemoveCutmgrCallback
Public method RemoveCutmgrCallbacks
Public method RemoveEstimateCallback
Public method RemoveEstimateCallbacks
Public method RemoveGapNotifyCallback
Public method RemoveGapNotifyCallbacks
Public method RemoveInfnodeCallback
Public method RemoveInfnodeCallbacks
Public method RemoveIntsolCallback
Public method RemoveIntsolCallbacks
Public method RemoveLplogCallback
Public method RemoveLplogCallbacks
Public method RemoveMessageCallback
Public method RemoveMessageCallbacks
Public method RemoveMiplogCallback
Public method RemoveMiplogCallbacks
Public method RemoveMipThreadCallback
Public method RemoveMipThreadCallbacks
Public method RemoveMipThreadDestroyCallback
Public method RemoveMipThreadDestroyCallbacks
Public method RemoveMsgHandlerCallback (Overrides XPRSobjectRemoveMsgHandlerCallback(MsgHandlerCallback).)
Public method RemoveMsgHandlerCallbacks (Overrides XPRSobjectRemoveMsgHandlerCallbacks.)
Public method RemoveMsJobEndCallback
Public method RemoveMsJobEndCallbacks
Public method RemoveMsJobStartCallback
Public method RemoveMsJobStartCallbacks
Public method RemoveMsWinnerCallback
Public method RemoveMsWinnerCallbacks
Public method RemoveNewnodeCallback
Public method RemoveNewnodeCallbacks
Public method RemoveNlpCoefEvalErrorCallback
Public method RemoveNlpCoefEvalErrorCallbacks
Public method RemoveNodecutoffCallback
Public method RemoveNodecutoffCallbacks
Public method RemoveNodeLPSolvedCallback
Public method RemoveNodeLPSolvedCallbacks
Public method RemoveOptnodeCallback
Public method RemoveOptnodeCallbacks
Public method RemovePreIntsolCallback
Public method RemovePreIntsolCallbacks
Public method RemovePrenodeCallback
Public method RemovePrenodeCallbacks
Public method RemovePresolveCallback
Public method RemovePresolveCallbacks
Public method RemoveSepnodeCallback
Public method RemoveSepnodeCallbacks
Public method RemoveSlpCascadeEndCallback
Public method RemoveSlpCascadeEndCallbacks
Public method RemoveSlpCascadeStartCallback
Public method RemoveSlpCascadeStartCallbacks
Public method RemoveSlpCascadeVarCallback
Public method RemoveSlpCascadeVarCallbacks
Public method RemoveSlpCascadeVarFailCallback
Public method RemoveSlpCascadeVarFailCallbacks
Public method RemoveSlpConstructCallback
Public method RemoveSlpConstructCallbacks
Public method RemoveSlpDrColCallback
Public method RemoveSlpDrColCallbacks
Public method RemoveSlpIntSolCallback
Public method RemoveSlpIntSolCallbacks
Public method RemoveSlpIterEndCallback
Public method RemoveSlpIterEndCallbacks
Public method RemoveSlpIterStartCallback
Public method RemoveSlpIterStartCallbacks
Public method RemoveSlpIterVarCallback
Public method RemoveSlpIterVarCallbacks
Public method RemoveSlpPreUpdateLinearizationCallback
Public method RemoveSlpPreUpdateLinearizationCallbacks
Public method RemoveUserSolNotifyCallback
Public method RemoveUserSolNotifyCallbacks
Public method RepairInfeas
Provides a simplified interface for repairWeightedInfeas.
Public method RepairWeightedInfeas
By relaxing a set of selected constraints and bounds of an infeasible problem, it attempts to identify a 'solution' that violates the selected set of constraints and bounds minimally, while satisfying all other constraints and bounds. Among such solution candidates, it selects one that is optimal regarding to the original objective function. For the console version, see REPAIRINFEAS.
Public method RepairWeightedInfeasBounds
An extended version of repairWeightedInfeas that allows for bounding the level of relaxation allowed.
Public method Restore
Restores the Optimizer's data structures from a file created by save (SAVE). Optimization may then recommence from the point at which the file was created.
Public method Restore(String)
Restores the Optimizer's data structures from a file created by save (SAVE). Optimization may then recommence from the point at which the file was created.
Public method Restore(String, String)
Restores the Optimizer's data structures from a file created by save (SAVE). Optimization may then recommence from the point at which the file was created.
Public method RHSsa
Returns upper and lower sensitivity ranges for specified right hand side (RHS) function coefficients. If the RHS coefficients are varied within these ranges the current basis remains optimal and the reduced costs remain valid.
Public method Save
Saves the current data structures, i.e. matrices, control settings and problem attribute settings to file and terminates the run so that optimization can be resumed later.
Public method SaveAs
Public method Scale
Re-scales the current matrix.
Public method SetBranchBounds
Specifies the bounds previously stored using storeBounds that are to be applied in order to branch on a user entity. This routine can only be called from the user separate callback function, addCbSepnode.
Public method SetBranchCuts(Int32, Cut)
Specifies the pointers to cuts in the cut pool that are to be applied in order to branch on a user entity. This routine can only be called from the user separate callback function, addCbSepnode.
Public method SetBranchCuts(Int32, IntPtr) Obsolete.
Public method SetDblControl
Sets the value of a given double control parameter.
Public method SetDefaultControl
Set a default control value.
Public method SetDefaults
Sets all controls to their default values. Must be called before the problem is read or loaded by readProb, loadMIP, loadLP, loadMIQP, loadQP.
Public method SetIndicators
Specifies that a set of rows in the matrix will be treated as indicator constraints during a tree search. An indicator constraint is made of a condition and a constraint. The condition is of the type "bin = value", where bin is a binary variable and value is either 0 or 1. The constraint is any matrix row (may be linear, quadratic or general nonlinear). During tree search, a row configured as an indicator constraint is enforced only when condition holds, that is only if the indicator variable bin has the specified value. Note that every row may only get assigned a single indicator variable and term. If a row needs to be activated by multiple different terms, the row needs to be duplicated so that each term can be assigned to a distinct row. If the indicator variable should be changed, the old term needs to be deleted first (by calling delIndicators or by calling this function with a comps argument of 0) before assigning a new one.
Public method SetIntControl
Sets the value of a given integer control parameter.
Public method SetLogFile
This directs all Optimizer output to a log file.
Public method SetLongControl
Sets the value of a given integer control parameter.
Public method SetMessageStatus
Manages suppression of messages.
Public method SetObjDblControl
Sets the value of a given double control parameter associated with an objective. These parameters control how the objective is treated during multi-objective optimization.
Public method SetObjective(Int32, Double)
Set objective to a linear function. Any previously set objective will be cleared.
Public method SetObjective(Int32, Double, ObjSense)
Set objective to a linear function. Any previously set objective will be cleared.
Public method SetObjIntControl
Sets the value of a given integer control parameter associated with an objective. These parameters control how the objective is treated during multi-objective optimization.
Public method SetProbName
Sets the current default problem name. This command is rarely used.
Public method SetStrControl
Used to set the value of a given string control parameter.
Public method SlpAddCoefs
Public method SlpCascadeNLimit
Public method SlpCascadeOrder
Public method SlpCascadeSol
Public method SlpChgCCoef
Public method SlpChgCoef
Public method SlpChgDeltaType
Public method SlpChgRowStatus
Public method SlpChgRowWt
Public method SlpConstruct
Public method SlpDelCoefs(Int32, Int32)
Convenience wrapper for SlpDelCoefs(int, int[], int[]).
Public method SlpDelCoefs(Int32, Int32, Int32)
Public method SlpEvaluateCoef
Public method SlpFixPenalties
Public method SlpGetCCoef
Public method SlpGetCoefFormula
Public method SlpGetCoefs
Public method SlpGetRowStatus
Public method SlpGetRowWT
Public method SlpLoadCoefs
Public method SlpReInitialize
Public method SlpSetDetRow(Int32, Int32)
Convenience wrapper for SlpSetDetRow(int, int[], int[]).
Public method SlpSetDetRow(Int32, Int32, Int32)
Public method SlpUnConstruct
Public method SlpUpdateLinearization
Public method SparseBTran
Public method SparseFTran
Public method StoreBounds(Int32, Int32, Char, Double)
Stores bounds for node separation using user separate callback function.
Public method StoreBounds(Int32, Int32, Char, Double, Bounds)
Stores bounds for node separation using user separate callback function.
Public method StoreCuts(Int32, Int32, Int32, Char, Double, Int32, Cut, Int32, Double)
Stores cuts into the cut pool, but does not apply them to the current node. These cuts must be explicitly loaded into the matrix using loadCuts or setBranchCuts before they become active.
Public method StoreCuts(Int32, Int32, Int32, Char, Double, Int32, IntPtr, Int32, Double) Obsolete.
Public method StoreCuts(Int32, Int32, Int32, Char, Double, Int64, Cut, Int32, Double)
Stores cuts into the cut pool, but does not apply them to the current node. These cuts must be explicitly loaded into the matrix using loadCuts or setBranchCuts before they become active.
Public method StrongBranch
Performs strong branching iterations on all specified bound changes. For each candidate bound change, strongBranch performs dual simplex iterations starting from the current optimal solution of the base LP, and returns both the status and objective value reached after these iterations.
Public method StrongBranchCB
Performs strong branching iterations on all specified bound changes. For each candidate bound change, strongBranchCB performs dual simplex iterations starting from the current optimal solution of the base LP, and returns both the status and objective value reached after these iterations.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Tune
This function begins a tuner session for the current problem. The tuner will solve the problem multiple times while evaluating a list of control settings and promising combinations of them. When finished, the tuner will select and set the best control setting on the problem. Note that the direction of optimization is given by OBJSENSE.
Public method TunerReadMethod
This function loads a user defined tuner method from the given file.
Public method TunerWriteMethod
This function writes the current tuner method to a given file or prints it to the console.
Public method UnloadProb
Unloads and frees all memory associated with the current problem. It also invalidates the current problem (as opposed to reading in an empty problem).
Public method VarArray(Char, Int32, Double, Double, FuncInt32, String)
Create an array of variables with the same type. All the variables created by this function have the same types and bounds.
Public method VarArray(Char, Int32, Double, Double, String)
Create an array of variables with the same type.
Public method VarArray(Char, Int32, FuncInt32, Double, FuncInt32, Double, FuncInt32, String)
Create an array of variables with the same type.
Public method VarArrayT(Char, ICollectionT, Double, Double, FuncT, String)
Create an array of variables with the same type. All the variables created by this function have the same types and bounds. The function will create one variable for each of the objects listed in
objs
.
Public method VarArrayT(Char, ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create an array of variables with the same type. The function will create one variable for each of the objects listed in
objs
.
Public method VarMapT(Char, ICollectionT, FuncT, Double, FuncT, Double, FuncT, String)
Create a map of variables that all have the same type. The function creates a new variable for each object in
objs
. It returns a hash map in which each object in
objs
maps to the index of the variable that was created for it.
Public method VarMapT(Char, ICollectionT, FuncT, Double, FuncT, Double, FuncT, String, IDictionaryT, Int32)
Create a map of variables that all have the same type. The function creates a new variable for each object in
objs
. For each object o it puts the Pair (o, idx) into
map
where idx is the index of the variable that was created for o.
Public method WriteBasis
Writes the current basis to a file for later input into the Optimizer.
Public method WriteBasis(String)
Writes the current basis to a file for later input into the Optimizer.
Public method WriteBasis(String, String)
Writes the current basis to a file for later input into the Optimizer.
Public method WriteBinSol
Writes the current MIP or LP solution to a binary solution file for later input into the Optimizer.
Public method WriteBinSol(String)
Writes the current MIP or LP solution to a binary solution file for later input into the Optimizer.
Public method WriteBinSol(String, String)
Writes the current MIP or LP solution to a binary solution file for later input into the Optimizer.
Public method WriteDirs
Writes the tree search directives from the current problem to a directives file.
Public method WriteDirs(String)
Writes the tree search directives from the current problem to a directives file.
Public method WriteIIS(Int32, String, Int32)
Writes an LP/MPS/CSV file containing a given Irreducible Infeasible Set (IIS). If 0 is passed as the IIS number parameter, the initial infeasible subproblem is written.
Public method WriteIIS(Int32, String, Int32, String)
Writes an LP/MPS/CSV file containing a given Irreducible Infeasible Set (IIS). If 0 is passed as the IIS number parameter, the initial infeasible subproblem is written.
Public method WriteProb
Writes the current problem to an MPS or LP file.
Public method WriteProb(String)
Writes the current problem to an MPS or LP file.
Public method WriteProb(String, String)
Writes the current problem to an MPS or LP file.
Public method WritePrtSol
Writes the current solution to a fixed format ASCII file, problem_name.prt.
Public method WritePrtSol(String)
Writes the current solution to a fixed format ASCII file, problem_name.prt.
Public method WritePrtSol(String, String)
Writes the current solution to a fixed format ASCII file, problem_name.prt.
Public method WriteSlxSol
Creates an ASCII solution file (.slx) using a similar format to MPS files. These files can be read back into the Optimizer using the readSlxSol function.
Public method WriteSlxSol(String)
Creates an ASCII solution file (.slx) using a similar format to MPS files. These files can be read back into the Optimizer using the readSlxSol function.
Public method WriteSlxSol(String, String)
Creates an ASCII solution file (.slx) using a similar format to MPS files. These files can be read back into the Optimizer using the readSlxSol function.
Public method WriteSol
Writes the current solution to a CSV format ASCII file, problem_name.asc (and .hdr).
Public method WriteSol(String)
Writes the current solution to a CSV format ASCII file, problem_name.asc (and .hdr).
Public method WriteSol(String, String)
Top
See Also

© 2001-2023 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.