Initializing help system before first use

XPRSprob Methods

The XPRSprob type exposes the following members.

Methods
  Name Description
Public method AddAfterObjectiveCallback(AfterObjectiveCallback)
Add AfterObjective callback.
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Int32)
Add AfterObjective callback with the specified priority.
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Object)
Add AfterObjective callback with a user object that is passed to the callback on invocation.
Public method AddAfterObjectiveCallback(AfterObjectiveCallback, Object, Int32)
Add AfterObjective callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddBarIterationCallback(BarIterationCallback)
Add BarIteration callback.
Public method AddBarIterationCallback(BarIterationCallback, Int32)
Add BarIteration callback with the specified priority.
Public method AddBarIterationCallback(BarIterationCallback, Object)
Add BarIteration callback with a user object that is passed to the callback on invocation.
Public method AddBarIterationCallback(BarIterationCallback, Object, Int32)
Add BarIteration callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddBarlogCallback(BarlogCallback)
Add Barlog callback.
Public method AddBarlogCallback(BarlogCallback, Int32)
Add Barlog callback with the specified priority.
Public method AddBarlogCallback(BarlogCallback, Object)
Add Barlog callback with a user object that is passed to the callback on invocation.
Public method AddBarlogCallback(BarlogCallback, Object, Int32)
Add Barlog callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback)
Add BeforeObjective callback.
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Int32)
Add BeforeObjective callback with the specified priority.
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Object)
Add BeforeObjective callback with a user object that is passed to the callback on invocation.
Public method AddBeforeObjectiveCallback(BeforeObjectiveCallback, Object, Int32)
Add BeforeObjective callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddBeforeSolveCallback(BeforeSolveCallback)
Add BeforeSolve callback.
Public method AddBeforeSolveCallback(BeforeSolveCallback, Int32)
Add BeforeSolve callback with the specified priority.
Public method AddBeforeSolveCallback(BeforeSolveCallback, Object)
Add BeforeSolve callback with a user object that is passed to the callback on invocation.
Public method AddBeforeSolveCallback(BeforeSolveCallback, Object, Int32)
Add BeforeSolve callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback)
Add ChangeBranchObject callback.
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Int32)
Add ChangeBranchObject callback with the specified priority.
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Object)
Add ChangeBranchObject callback with a user object that is passed to the callback on invocation.
Public method AddChangeBranchObjectCallback(ChangeBranchObjectCallback, Object, Int32)
Add ChangeBranchObject callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddCheckTimeCallback(CheckTimeCallback)
Add CheckTime callback.
Public method AddCheckTimeCallback(CheckTimeCallback, Int32)
Add CheckTime callback with the specified priority.
Public method AddCheckTimeCallback(CheckTimeCallback, Object)
Add CheckTime callback with a user object that is passed to the callback on invocation.
Public method AddCheckTimeCallback(CheckTimeCallback, Object, Int32)
Add CheckTime callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddChgbranchCallback(ChgbranchCallback) Obsolete.
Add Chgbranch callback.
Public method AddChgbranchCallback(ChgbranchCallback, Int32) Obsolete.
Add Chgbranch callback with the specified priority.
Public method AddChgbranchCallback(ChgbranchCallback, Object) Obsolete.
Add Chgbranch callback with a user object that is passed to the callback on invocation.
Public method AddChgbranchCallback(ChgbranchCallback, Object, Int32) Obsolete.
Add Chgbranch callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddChgnodeCallback(ChgnodeCallback) Obsolete.
Add Chgnode callback.
Public method AddChgnodeCallback(ChgnodeCallback, Int32) Obsolete.
Add Chgnode callback with the specified priority.
Public method AddChgnodeCallback(ChgnodeCallback, Object) Obsolete.
Add Chgnode callback with a user object that is passed to the callback on invocation.
Public method AddChgnodeCallback(ChgnodeCallback, Object, Int32) Obsolete.
Add Chgnode callback with specified priority and a user object that is passed to the callback on invocation.
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)
Adds columns to the optimizer matrix.
Public method AddCols(Int32, Int64, Double, Int64, Int32, Double, Double, Double)
Adds columns to the optimizer matrix.
Public method AddColumn
Add a single column to this problem.
Public method AddColumns(Int32)
Create an 1-dimensional array of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToArray() function.
// Create a multi-dimensional array of binary columns
int[ ] x = prob.AddColumns(dim)
               .WithType(Optimizer.Objects.ColumnType.Binary)
               .ToArray();
See Optimizer.VariableBuilder.ColumnArrayBuilder for details of how to modify the specification in the builder.
Public method AddColumns(Int32, Int32)
Create an 2-dimensional array of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToArray() function.
// Create a multi-dimensional array of binary columns
int[ ,] x = prob.AddColumns(dim1 ,dim2)
               .WithType(Optimizer.Objects.ColumnType.Binary)
               .ToArray();
See Optimizer.VariableBuilder.ColumnArray2Builder for details of how to modify the specification in the builder.
Public method AddColumns(Int32, Int32, Int32)
Create an 3-dimensional array of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToArray() function.
// Create a multi-dimensional array of binary columns
int[ , ,] x = prob.AddColumns(dim1 ,dim2 ,dim3)
               .WithType(Optimizer.Objects.ColumnType.Binary)
               .ToArray();
See Optimizer.VariableBuilder.ColumnArray3Builder for details of how to modify the specification in the builder.
Public method AddColumns(Int32, Int32, Int32, Int32)
Create an 4-dimensional array of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToArray() function.
// Create a multi-dimensional array of binary columns
int[ , , ,] x = prob.AddColumns(dim1 ,dim2 ,dim3 ,dim4)
               .WithType(Optimizer.Objects.ColumnType.Binary)
               .ToArray();
See Optimizer.VariableBuilder.ColumnArray4Builder for details of how to modify the specification in the builder.
Public method AddColumns(Int32, Int32, Int32, Int32, Int32)
Create an 5-dimensional array of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToArray() function.
// Create a multi-dimensional array of binary columns
int[ , , , ,] x = prob.AddColumns(dim1 ,dim2 ,dim3 ,dim4 ,dim5)
               .WithType(Optimizer.Objects.ColumnType.Binary)
               .ToArray();
See Optimizer.VariableBuilder.ColumnArray5Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1>(ICollection<K1>)
Create an 1-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
System.Collections.Generic.Dictionary<K1 ,int> x = prob.AddColumns(coll1 )
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMapBuilder for details of how to modify the specification in the builder.
Public method AddColumns<K1>(IEnumerable<K1>)
Create an 1-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
System.Collections.Generic.Dictionary<K1 ,int> x = prob.AddColumns(coll1 )
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMapBuilder for details of how to modify the specification in the builder.
Public method AddColumns<K1>(K1)
Create an 1-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
System.Collections.Generic.Dictionary<K1 ,int> x = prob.AddColumns(coll1 )
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMapBuilder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2>(ICollection<K1>, ICollection<K2>)
Create an 2-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap2<K1 ,K2,int> x = prob.AddColumns(coll1 ,coll2)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap2Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2>(K1, K2)
Create an 2-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap2<K1 ,K2,int> x = prob.AddColumns(coll1 ,coll2)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap2Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3>(ICollection<K1>, ICollection<K2>, ICollection<K3>)
Create an 3-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap3<K1 ,K2 ,K3,int> x = prob.AddColumns(coll1 ,coll2 ,coll3)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap3Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3>(K1, K2, K3)
Create an 3-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap3<K1 ,K2 ,K3,int> x = prob.AddColumns(coll1 ,coll2 ,coll3)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap3Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3, K4>(ICollection<K1>, ICollection<K2>, ICollection<K3>, ICollection<K4>)
Create an 4-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap4<K1 ,K2 ,K3 ,K4,int> x = prob.AddColumns(coll1 ,coll2 ,coll3 ,coll4)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap4Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3, K4>(K1, K2, K3, K4)
Create an 4-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap4<K1 ,K2 ,K3 ,K4,int> x = prob.AddColumns(coll1 ,coll2 ,coll3 ,coll4)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap4Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3, K4, K5>(ICollection<K1>, ICollection<K2>, ICollection<K3>, ICollection<K4>, ICollection<K5>)
Create an 5-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap5<K1 ,K2 ,K3 ,K4 ,K5,int> x = prob.AddColumns(coll1 ,coll2 ,coll3 ,coll4 ,coll5)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap5Builder for details of how to modify the specification in the builder.
Public method AddColumns<K1, K2, K3, K4, K5>(K1, K2, K3, K4, K5)
Create an 5-dimensional map of columns. This function returns a builder that generates columns according to a specification. The specification can be modified. In order to actually create the columns and get their indices, you have to call the returned builder's ToMap() function.
// Create a multi-dimensional array of binary columns
Optimizer.Maps.HashMap5<K1 ,K2 ,K3 ,K4 ,K5,int> x = prob.AddColumns(coll1 ,coll2 ,coll3 ,coll4 ,coll5)
                                   .WithType(Optimizer.Objects.ColumnType.Binary)
                                   .ToMap();
See Optimizer.VariableBuilder.ColumnMap5Builder for details of how to modify the specification in the builder.
Public method AddComputeRestartCallback(ComputeRestartCallback)
Add ComputeRestart callback.
Public method AddComputeRestartCallback(ComputeRestartCallback, Int32)
Add ComputeRestart callback with the specified priority.
Public method AddComputeRestartCallback(ComputeRestartCallback, Object)
Add ComputeRestart callback with a user object that is passed to the callback on invocation.
Public method AddComputeRestartCallback(ComputeRestartCallback, Object, Int32)
Add ComputeRestart callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddCut(Int32, XPRSprob.RowInfo)
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)
Add Cutlog callback.
Public method AddCutlogCallback(CutlogCallback, Int32)
Add Cutlog callback with the specified priority.
Public method AddCutlogCallback(CutlogCallback, Object)
Add Cutlog callback with a user object that is passed to the callback on invocation.
Public method AddCutlogCallback(CutlogCallback, Object, Int32)
Add Cutlog callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddCutmgrCallback(CutmgrCallback) Obsolete.
Add Cutmgr callback.
Public method AddCutmgrCallback(CutmgrCallback, Int32) Obsolete.
Add Cutmgr callback with the specified priority.
Public method AddCutmgrCallback(CutmgrCallback, Object) Obsolete.
Add Cutmgr callback with a user object that is passed to the callback on invocation.
Public method AddCutmgrCallback(CutmgrCallback, Object, Int32) Obsolete.
Add Cutmgr callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddCuts(Int32, Int32, Char, Double, Int32, Int32, Double)
Adds cuts directly to the matrix at the current node. The cuts will automatically be added to the cut pool. Cuts added to a node will automatically be inherited on any descendant node, unless explicitly deleted with a call to delCuts.
Public method AddCuts(Int32, Int32, Char, Double, Int64, Int32, Double)
Adds cuts directly to the matrix at the current node. The cuts will automatically be added to the cut pool. Cuts added to a node will automatically be inherited on any descendant node, unless explicitly deleted with a call to delCuts.
Public method AddGapNotifyCallback(GapNotifyCallback)
Add GapNotify callback.
Public method AddGapNotifyCallback(GapNotifyCallback, Int32)
Add GapNotify callback with the specified priority.
Public method AddGapNotifyCallback(GapNotifyCallback, Object)
Add GapNotify callback with a user object that is passed to the callback on invocation.
Public method AddGapNotifyCallback(GapNotifyCallback, Object, Int32)
Add GapNotify callback with specified priority and a user object that is passed to the callback on invocation.
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)
Add Infnode callback.
Public method AddInfnodeCallback(InfnodeCallback, Int32)
Add Infnode callback with the specified priority.
Public method AddInfnodeCallback(InfnodeCallback, Object)
Add Infnode callback with a user object that is passed to the callback on invocation.
Public method AddInfnodeCallback(InfnodeCallback, Object, Int32)
Add Infnode callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddIntsolCallback(IntsolCallback)
Add Intsol callback.
Public method AddIntsolCallback(IntsolCallback, Int32)
Add Intsol callback with the specified priority.
Public method AddIntsolCallback(IntsolCallback, Object)
Add Intsol callback with a user object that is passed to the callback on invocation.
Public method AddIntsolCallback(IntsolCallback, Object, Int32)
Add Intsol callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddLplogCallback(LplogCallback)
Add Lplog callback.
Public method AddLplogCallback(LplogCallback, Int32)
Add Lplog callback with the specified priority.
Public method AddLplogCallback(LplogCallback, Object)
Add Lplog callback with a user object that is passed to the callback on invocation.
Public method AddLplogCallback(LplogCallback, Object, Int32)
Add Lplog callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMessageCallback(MessageCallback)
Add Message callback.
Public method AddMessageCallback(MessageCallback, Int32)
Add Message callback with the specified priority.
Public method AddMessageCallback(MessageCallback, Object)
Add Message callback with a user object that is passed to the callback on invocation.
Public method AddMessageCallback(MessageCallback, Object, Int32)
Add Message callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMiplogCallback(MiplogCallback)
Add Miplog callback.
Public method AddMiplogCallback(MiplogCallback, Int32)
Add Miplog callback with the specified priority.
Public method AddMiplogCallback(MiplogCallback, Object)
Add Miplog callback with a user object that is passed to the callback on invocation.
Public method AddMiplogCallback(MiplogCallback, Object, Int32)
Add Miplog callback with specified priority and a user object that is passed to the callback on invocation.
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)
Add MipThread callback.
Public method AddMipThreadCallback(MipThreadCallback, Int32)
Add MipThread callback with the specified priority.
Public method AddMipThreadCallback(MipThreadCallback, Object)
Add MipThread callback with a user object that is passed to the callback on invocation.
Public method AddMipThreadCallback(MipThreadCallback, Object, Int32)
Add MipThread callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback)
Add MipThreadDestroy callback.
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Int32)
Add MipThreadDestroy callback with the specified priority.
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Object)
Add MipThreadDestroy callback with a user object that is passed to the callback on invocation.
Public method AddMipThreadDestroyCallback(MipThreadDestroyCallback, Object, Int32)
Add MipThreadDestroy callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMsgHandlerCallback(TextWriter) (Inherited from XPRSobject.)
Public method AddMsgHandlerCallback(MsgHandlerCallback)
Add MsgHandler callback.
(Overrides XPRSobject.AddMsgHandlerCallback(MsgHandlerCallback).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Int32)
Add MsgHandler callback with the specified priority.
(Overrides XPRSobject.AddMsgHandlerCallback(MsgHandlerCallback, Int32).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Object)
Add MsgHandler callback with a user object that is passed to the callback on invocation.
(Overrides XPRSobject.AddMsgHandlerCallback(MsgHandlerCallback, Object).)
Public method AddMsgHandlerCallback(MsgHandlerCallback, Object, Int32)
Add MsgHandler callback with specified priority and a user object that is passed to the callback on invocation.
(Overrides XPRSobject.AddMsgHandlerCallback(MsgHandlerCallback, Object, Int32).)
Public method AddMsJobEndCallback(MsJobEndCallback)
Add MsJobEnd callback.
Public method AddMsJobEndCallback(MsJobEndCallback, Int32)
Add MsJobEnd callback with the specified priority.
Public method AddMsJobEndCallback(MsJobEndCallback, Object)
Add MsJobEnd callback with a user object that is passed to the callback on invocation.
Public method AddMsJobEndCallback(MsJobEndCallback, Object, Int32)
Add MsJobEnd callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMsJobStartCallback(MsJobStartCallback)
Add MsJobStart callback.
Public method AddMsJobStartCallback(MsJobStartCallback, Int32)
Add MsJobStart callback with the specified priority.
Public method AddMsJobStartCallback(MsJobStartCallback, Object)
Add MsJobStart callback with a user object that is passed to the callback on invocation.
Public method AddMsJobStartCallback(MsJobStartCallback, Object, Int32)
Add MsJobStart callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddMsWinnerCallback(MsWinnerCallback)
Add MsWinner callback.
Public method AddMsWinnerCallback(MsWinnerCallback, Int32)
Add MsWinner callback with the specified priority.
Public method AddMsWinnerCallback(MsWinnerCallback, Object)
Add MsWinner callback with a user object that is passed to the callback on invocation.
Public method AddMsWinnerCallback(MsWinnerCallback, Object, Int32)
Add MsWinner callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddNames(Int32, String, Int32, Int32)
Add names of the given type to the problem.
Public method AddNames(Namespaces, String, Int32, Int32)
Add names to model. Note that if this method fails, then it is unspecified how many of the names were changed.
Public method AddNewnodeCallback(NewnodeCallback)
Add Newnode callback.
Public method AddNewnodeCallback(NewnodeCallback, Int32)
Add Newnode callback with the specified priority.
Public method AddNewnodeCallback(NewnodeCallback, Object)
Add Newnode callback with a user object that is passed to the callback on invocation.
Public method AddNewnodeCallback(NewnodeCallback, Object, Int32)
Add Newnode callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback)
Add NlpCoefEvalError callback.
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Int32)
Add NlpCoefEvalError callback with the specified priority.
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Object)
Add NlpCoefEvalError callback with a user object that is passed to the callback on invocation.
Public method AddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback, Object, Int32)
Add NlpCoefEvalError callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddNodecutoffCallback(NodecutoffCallback)
Add Nodecutoff callback.
Public method AddNodecutoffCallback(NodecutoffCallback, Int32)
Add Nodecutoff callback with the specified priority.
Public method AddNodecutoffCallback(NodecutoffCallback, Object)
Add Nodecutoff callback with a user object that is passed to the callback on invocation.
Public method AddNodecutoffCallback(NodecutoffCallback, Object, Int32)
Add Nodecutoff callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback)
Add NodeLPSolved callback.
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Int32)
Add NodeLPSolved callback with the specified priority.
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Object)
Add NodeLPSolved callback with a user object that is passed to the callback on invocation.
Public method AddNodeLPSolvedCallback(NodeLPSolvedCallback, Object, Int32)
Add NodeLPSolved callback with specified priority and a user object that is passed to the callback on invocation.
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)
Add Optnode callback.
Public method AddOptnodeCallback(OptnodeCallback, Int32)
Add Optnode callback with the specified priority.
Public method AddOptnodeCallback(OptnodeCallback, Object)
Add Optnode callback with a user object that is passed to the callback on invocation.
Public method AddOptnodeCallback(OptnodeCallback, Object, Int32)
Add Optnode callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddPreIntsolCallback(PreIntsolCallback)
Add PreIntsol callback.
Public method AddPreIntsolCallback(PreIntsolCallback, Int32)
Add PreIntsol callback with the specified priority.
Public method AddPreIntsolCallback(PreIntsolCallback, Object)
Add PreIntsol callback with a user object that is passed to the callback on invocation.
Public method AddPreIntsolCallback(PreIntsolCallback, Object, Int32)
Add PreIntsol callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddPrenodeCallback(PrenodeCallback)
Add Prenode callback.
Public method AddPrenodeCallback(PrenodeCallback, Int32)
Add Prenode callback with the specified priority.
Public method AddPrenodeCallback(PrenodeCallback, Object)
Add Prenode callback with a user object that is passed to the callback on invocation.
Public method AddPrenodeCallback(PrenodeCallback, Object, Int32)
Add Prenode callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddPresolveCallback(PresolveCallback)
Add Presolve callback.
Public method AddPresolveCallback(PresolveCallback, Int32)
Add Presolve callback with the specified priority.
Public method AddPresolveCallback(PresolveCallback, Object)
Add Presolve callback with a user object that is passed to the callback on invocation.
Public method AddPresolveCallback(PresolveCallback, Object, Int32)
Add Presolve callback with specified priority and a user object that is passed to the callback on invocation.
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(XPRSprob.RowInfo)
Add a single row to the problem.
Public method AddRow(XPRSprob.RowInfo, 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)
Adds rows to the optimizer matrix.
Public method AddRows(Int32, Int64, Char, Double, Int64, Int32, Double)
Adds rows to the optimizer matrix.
Public method AddRows(Int32, Int32, Char, Double, Double, Int32, Int32, Double)
Adds rows to the optimizer matrix.
Public method AddRows(Int32, Int64, Char, Double, Double, Int64, Int32, Double)
Adds rows to the optimizer matrix.
Public method AddSet
Add a single set constraint to this problem.
Public method AddSetNames
Add the given set names to the problem.
Public method AddSets(SetType, Int32, Double, String)
Add multiple set constraints 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, Int32, SetType, Int32, Double, String)
Create multiple set constraints.
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)
Add SlpCascadeEnd callback.
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Int32)
Add SlpCascadeEnd callback with the specified priority.
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Object)
Add SlpCascadeEnd callback with a user object that is passed to the callback on invocation.
Public method AddSlpCascadeEndCallback(SlpCascadeEndCallback, Object, Int32)
Add SlpCascadeEnd callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback)
Add SlpCascadeStart callback.
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Int32)
Add SlpCascadeStart callback with the specified priority.
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Object)
Add SlpCascadeStart callback with a user object that is passed to the callback on invocation.
Public method AddSlpCascadeStartCallback(SlpCascadeStartCallback, Object, Int32)
Add SlpCascadeStart callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback)
Add SlpCascadeVar callback.
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Int32)
Add SlpCascadeVar callback with the specified priority.
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Object)
Add SlpCascadeVar callback with a user object that is passed to the callback on invocation.
Public method AddSlpCascadeVarCallback(SlpCascadeVarCallback, Object, Int32)
Add SlpCascadeVar callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback)
Add SlpCascadeVarFail callback.
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Int32)
Add SlpCascadeVarFail callback with the specified priority.
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Object)
Add SlpCascadeVarFail callback with a user object that is passed to the callback on invocation.
Public method AddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback, Object, Int32)
Add SlpCascadeVarFail callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpConstructCallback(SlpConstructCallback)
Add SlpConstruct callback.
Public method AddSlpConstructCallback(SlpConstructCallback, Int32)
Add SlpConstruct callback with the specified priority.
Public method AddSlpConstructCallback(SlpConstructCallback, Object)
Add SlpConstruct callback with a user object that is passed to the callback on invocation.
Public method AddSlpConstructCallback(SlpConstructCallback, Object, Int32)
Add SlpConstruct callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpDrColCallback(SlpDrColCallback)
Add SlpDrCol callback.
Public method AddSlpDrColCallback(SlpDrColCallback, Int32)
Add SlpDrCol callback with the specified priority.
Public method AddSlpDrColCallback(SlpDrColCallback, Object)
Add SlpDrCol callback with a user object that is passed to the callback on invocation.
Public method AddSlpDrColCallback(SlpDrColCallback, Object, Int32)
Add SlpDrCol callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpIntSolCallback(SlpIntSolCallback)
Add SlpIntSol callback.
Public method AddSlpIntSolCallback(SlpIntSolCallback, Int32)
Add SlpIntSol callback with the specified priority.
Public method AddSlpIntSolCallback(SlpIntSolCallback, Object)
Add SlpIntSol callback with a user object that is passed to the callback on invocation.
Public method AddSlpIntSolCallback(SlpIntSolCallback, Object, Int32)
Add SlpIntSol callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpIterEndCallback(SlpIterEndCallback)
Add SlpIterEnd callback.
Public method AddSlpIterEndCallback(SlpIterEndCallback, Int32)
Add SlpIterEnd callback with the specified priority.
Public method AddSlpIterEndCallback(SlpIterEndCallback, Object)
Add SlpIterEnd callback with a user object that is passed to the callback on invocation.
Public method AddSlpIterEndCallback(SlpIterEndCallback, Object, Int32)
Add SlpIterEnd callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpIterStartCallback(SlpIterStartCallback)
Add SlpIterStart callback.
Public method AddSlpIterStartCallback(SlpIterStartCallback, Int32)
Add SlpIterStart callback with the specified priority.
Public method AddSlpIterStartCallback(SlpIterStartCallback, Object)
Add SlpIterStart callback with a user object that is passed to the callback on invocation.
Public method AddSlpIterStartCallback(SlpIterStartCallback, Object, Int32)
Add SlpIterStart callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpIterVarCallback(SlpIterVarCallback)
Add SlpIterVar callback.
Public method AddSlpIterVarCallback(SlpIterVarCallback, Int32)
Add SlpIterVar callback with the specified priority.
Public method AddSlpIterVarCallback(SlpIterVarCallback, Object)
Add SlpIterVar callback with a user object that is passed to the callback on invocation.
Public method AddSlpIterVarCallback(SlpIterVarCallback, Object, Int32)
Add SlpIterVar callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback)
Add SlpPreUpdateLinearization callback.
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Int32)
Add SlpPreUpdateLinearization callback with the specified priority.
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Object)
Add SlpPreUpdateLinearization callback with a user object that is passed to the callback on invocation.
Public method AddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback, Object, Int32)
Add SlpPreUpdateLinearization callback with specified priority and a user object that is passed to the callback on invocation.
Public method AddUserSolNotifyCallback(UserSolNotifyCallback)
Add UserSolNotify callback.
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Int32)
Add UserSolNotify callback with the specified priority.
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Object)
Add UserSolNotify callback with a user object that is passed to the callback on invocation.
Public method AddUserSolNotifyCallback(UserSolNotifyCallback, Object, Int32)
Add UserSolNotify callback with specified priority and a user object that is passed to the callback on invocation.
Public method Alter
Alters or changes matrix elements, right hand sides and constraint senses in the current problem.
Public method BasisCondition Obsolete.
Calculates the condition number of the current basis after solving the LP relaxation.
Public method BasisStability(Int32, Int32, Int32)
Convenience wrapper for BasisStability(int,int,int,double) that returns the output argument.
Public method BasisStability(Int32, Int32, Int32, Double)
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 variable with the specified name.
Public method BinVarArray(Int32, Func<Int32, String>)
Create an array of binary variables.
Public method BinVarArray<T>(ICollection<T>, Func<T, String>)
Create an array of binary variables. The function will create one variable for each of the objects listed in objs.
Public method BinVarMap<T>(ICollection<T>, Func<T, 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 BinVarMap<T>(ICollection<T>, Func<T, String>, IDictionary<T, 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 BuildColumns(VariableBuilder.Array2Builder)
Add variables as specified by the builder.
Public method BuildColumns(VariableBuilder.Array3Builder)
Add variables as specified by the builder.
Public method BuildColumns(VariableBuilder.Array4Builder)
Add variables as specified by the builder.
Public method BuildColumns(VariableBuilder.Array5Builder)
Add variables as specified by the builder.
Public method BuildColumns(VariableBuilder.ArrayBuilder)
Add variables as specified by the builder.
Public method BuildColumns(VariableBuilder.Array2Builder, Action<Int32>)
TODO: Hide this from the user.
Public method BuildColumns(VariableBuilder.Array3Builder, Action<Int32>)
TODO: Hide this from the user.
Public method BuildColumns(VariableBuilder.Array4Builder, Action<Int32>)
TODO: Hide this from the user.
Public method BuildColumns(VariableBuilder.Array5Builder, Action<Int32>)
TODO: Hide this from the user.
Public method BuildColumns(VariableBuilder.ArrayBuilder, Action<Int32>)
TODO: Hide this from the user.
Public method BuildColumns<K1>(VariableBuilder.MapBuilder<K1>)
Create a column map from a builder.
Public method BuildColumns<I>(VariableBuilder.Array2Builder, Func<I>, Action<I, Int32, Int32, Int32>)
Add columns as specified by the builder. This is a parametrized version of .BuildColumns(VariableBuilder.Array2Builder).
Public method BuildColumns<I>(VariableBuilder.Array3Builder, Func<I>, Action5<I, Int32, Int32, Int32, Int32>)
Add columns as specified by the builder. This is a parametrized version of .BuildColumns(VariableBuilder.Array3Builder).
Public method BuildColumns<I>(VariableBuilder.Array4Builder, Func<I>, Action6<I, Int32, Int32, Int32, Int32, Int32>)
Add columns as specified by the builder. This is a parametrized version of .BuildColumns(VariableBuilder.Array4Builder).
Public method BuildColumns<I>(VariableBuilder.Array5Builder, Func<I>, Action7<I, Int32, Int32, Int32, Int32, Int32, Int32>)
Add columns as specified by the builder. This is a parametrized version of .BuildColumns(VariableBuilder.Array5Builder).
Public method BuildColumns<I>(VariableBuilder.ArrayBuilder, Func<I>, Action<I, Int32, Int32>)
Add columns as specified by the builder. This is a parametrized version of .BuildColumns(VariableBuilder.ArrayBuilder).
Public method BuildColumns<K1>(VariableBuilder.MapBuilder<K1>, Action<K1, Int32>, Action)
Create a column map from a builder. This function parametrizes creation of a map that maps keys to created objects.
Public method BuildColumns<K1, K2>(VariableBuilder.Map2Builder<K1, K2>)
Create a column map from a builder.
Public method BuildColumns<K1, K2>(VariableBuilder.Map2Builder<K1, K2>, Action<K1, K2, Int32>, Action)
Create a column map from a builder. This function parametrizes creation of a map that maps keys to created objects.
Public method BuildColumns<I, K1>(VariableBuilder.MapBuilder<K1>, Func<I>, Action<I, K1, Int32>)
Create a column map from a builder.
Public method BuildColumns<K1, K2, K3>(VariableBuilder.Map3Builder<K1, K2, K3>)
Create a column map from a builder.
Public method BuildColumns<I, K1, K2>(VariableBuilder.Map2Builder<K1, K2>, Func<I>, Action<I, K1, K2, Int32>)
Create a column map from a builder.
Public method BuildColumns<K1, K2, K3>(VariableBuilder.Map3Builder<K1, K2, K3>, Action<K1, K2, K3, Int32>, Action)
Create a column map from a builder. This function parametrizes creation of a map that maps keys to created objects.
Public method BuildColumns<K1, K2, K3, K4>(VariableBuilder.Map4Builder<K1, K2, K3, K4>)
Create a column map from a builder.
Public method BuildColumns<I, K1, K2, K3>(VariableBuilder.Map3Builder<K1, K2, K3>, Func<I>, Action5<I, K1, K2, K3, Int32>)
Create a column map from a builder.
Public method BuildColumns<K1, K2, K3, K4>(VariableBuilder.Map4Builder<K1, K2, K3, K4>, Action5<K1, K2, K3, K4, Int32>, Action)
Create a column map from a builder. This function parametrizes creation of a map that maps keys to created objects.
Public method BuildColumns<K1, K2, K3, K4, K5>(VariableBuilder.Map5Builder<K1, K2, K3, K4, K5>)
Create a column map from a builder.
Public method BuildColumns<I, K1, K2, K3, K4>(VariableBuilder.Map4Builder<K1, K2, K3, K4>, Func<I>, Action6<I, K1, K2, K3, K4, Int32>)
Create a column map from a builder.
Public method BuildColumns<K1, K2, K3, K4, K5>(VariableBuilder.Map5Builder<K1, K2, K3, K4, K5>, Action6<K1, K2, K3, K4, K5, Int32>, Action)
Create a column map from a builder. This function parametrizes creation of a map that maps keys to created objects.
Public method BuildColumns<I, K1, K2, K3, K4, K5>(VariableBuilder.Map5Builder<K1, K2, K3, K4, K5>, Func<I>, Action7<I, K1, K2, K3, K4, K5, Int32>)
Create a column map from a builder.
Public method CalcObjective(Double)
Convenience wrapper for CalcObjective(double[],double) that returns the output argument.
Public method CalcObjective(Double, Double)
Calculates the objective value of a given solution.
Public method CalcObjN(Int32, Double)
Convenience wrapper for CalcObjN(int,double[],double) that returns the output argument.
Public method CalcObjN(Int32, Double, Double)
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(Double, Double, Int32)
Convenience wrapper for CalcSolInfo(double[],double[],int,double) that returns the output argument.
Public method CalcSolInfo(Double, Double, Int32, Double)
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 column.
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)
Used to change the type of a specified set of columns in the matrix.
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 column.
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 column.
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.
Protected method ColumnTypeToArray
Convert a column type array to an array of low-level type indicators.
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, Func<Int32, 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, Func<Int32, Double>, Func<Int32, Double>, Func<Int32, String>)
Create an array of continuous variables.
Public method ContVarArray<T>(ICollection<T>, Double, Double, Func<T, 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 ContVarArray<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, String>)
Create an array of continuous variables. The function will create one variable for each of the objects listed in objs.
Public method ContVarMap<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, 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 ContVarMap<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, String>, IDictionary<T, 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
Create a branching object.
Public method CreateBranchObjectFromGlobal Obsolete.
Public method CrossoverLpSol()
Convenience wrapper for CrossoverLpSol(int) that returns the output argument.
Public method CrossoverLpSol(Int32)
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, 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 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, 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 DelGenCons
Delete general constraints from a problem.
Public method DelIndicator
Delete a single indicator constraint. This only deletes the "indicator property from the specified row. Neither the associated variable nor the row are deleted.
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 &gt; 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 XPRSobject.Destroy().)
Public method Dispose (Inherited from XPRSobject.)
Protected method Drop
Function that is called when the whole problem representation is dropped and will be replaced by a new one soon. This happens for example if readProb is called or any of the load functions are called.
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)
Convenience wrapper for FirstIIS(int,int) that returns the output argument.
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 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 GetCallbackDual(Int32)
Convenience wrapper for bool(out GetCallbackDuals, double[], int, int) that queries only a single value.
Public method GetCallbackDual(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackDuals, double[], int, int) that queries only a single value.
Public method GetCallbackDuals()
Convenience wrapper for bool(out GetCallbackDuals, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackDuals(Boolean)
Convenience wrapper for GetCallbackDuals(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackDuals(Int32, Int32)
Convenience wrapper for bool(out GetCallbackDuals, double[], int, int) that allocates the output array.
Public method GetCallbackDuals(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackDuals, double[], int, int) that allocates the output array.
Public method GetCallbackDuals(Boolean, Double, Int32, Int32)
Returns the dual values from the solution associated with the current callback.
Public method GetCallbackPresolveDual(Int32)
Convenience wrapper for bool(out GetCallbackPresolveDuals, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveDual(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackPresolveDuals, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveDuals()
Convenience wrapper for bool(out GetCallbackPresolveDuals, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveDuals(Boolean)
Convenience wrapper for GetCallbackPresolveDuals(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveDuals(Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveDuals, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveDuals(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveDuals, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveDuals(Boolean, Double, Int32, Int32)
Returns the dual values from the solution to the presolved problem associated with the current callback.
Public method GetCallbackPresolveRedCost(Int32)
Convenience wrapper for bool(out GetCallbackPresolveRedCosts, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveRedCost(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackPresolveRedCosts, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveRedCosts()
Convenience wrapper for bool(out GetCallbackPresolveRedCosts, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveRedCosts(Boolean)
Convenience wrapper for GetCallbackPresolveRedCosts(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveRedCosts(Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveRedCosts, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveRedCosts(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveRedCosts, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveRedCosts(Boolean, Double, Int32, Int32)
Returns the reduced costs from the solution to the presolved problem associated with the current callback.
Public method GetCallbackPresolveSlack(Int32)
Convenience wrapper for bool(out GetCallbackPresolveSlacks, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveSlack(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSlacks, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveSlacks()
Convenience wrapper for bool(out GetCallbackPresolveSlacks, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveSlacks(Boolean)
Convenience wrapper for GetCallbackPresolveSlacks(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveSlacks(Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSlacks, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveSlacks(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSlacks, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveSlacks(Boolean, Double, Int32, Int32)
Returns the slack values from the solution to the presolved problem associated with the current callback.
Public method GetCallbackPresolveSolution()
Convenience wrapper for bool(out GetCallbackPresolveSolution, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveSolution(Boolean)
Convenience wrapper for GetCallbackPresolveSolution(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackPresolveSolution(Int32)
Convenience wrapper for bool(out GetCallbackPresolveSolution, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveSolution(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSolution, double[], int, int) that queries only a single value.
Public method GetCallbackPresolveSolution(Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSolution, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveSolution(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackPresolveSolution, double[], int, int) that allocates the output array.
Public method GetCallbackPresolveSolution(Boolean, Double, Int32, Int32)
Returns the solution to the presolved problem associated with the current callback.
Public method GetCallbackRedCost(Int32)
Convenience wrapper for bool(out GetCallbackRedCosts, double[], int, int) that queries only a single value.
Public method GetCallbackRedCost(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackRedCosts, double[], int, int) that queries only a single value.
Public method GetCallbackRedCosts()
Convenience wrapper for bool(out GetCallbackRedCosts, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackRedCosts(Boolean)
Convenience wrapper for GetCallbackRedCosts(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackRedCosts(Int32, Int32)
Convenience wrapper for bool(out GetCallbackRedCosts, double[], int, int) that allocates the output array.
Public method GetCallbackRedCosts(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackRedCosts, double[], int, int) that allocates the output array.
Public method GetCallbackRedCosts(Boolean, Double, Int32, Int32)
Returns the reduced costs from the solution associated with the current callback.
Public method GetCallbackSlack(Int32)
Convenience wrapper for bool(out GetCallbackSlacks, double[], int, int) that queries only a single value.
Public method GetCallbackSlack(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackSlacks, double[], int, int) that queries only a single value.
Public method GetCallbackSlacks()
Convenience wrapper for bool(out GetCallbackSlacks, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackSlacks(Boolean)
Convenience wrapper for GetCallbackSlacks(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackSlacks(Int32, Int32)
Convenience wrapper for bool(out GetCallbackSlacks, double[], int, int) that allocates the output array.
Public method GetCallbackSlacks(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackSlacks, double[], int, int) that allocates the output array.
Public method GetCallbackSlacks(Boolean, Double, Int32, Int32)
Returns the slack values from the solution associated with the current callback.
Public method GetCallbackSolution()
Convenience wrapper for bool(out GetCallbackSolution, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackSolution(Boolean)
Convenience wrapper for GetCallbackSolution(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetCallbackSolution(Int32)
Convenience wrapper for bool(out GetCallbackSolution, double[], int, int) that queries only a single value.
Public method GetCallbackSolution(Boolean, Int32)
Convenience wrapper for bool(out GetCallbackSolution, double[], int, int) that queries only a single value.
Public method GetCallbackSolution(Int32, Int32)
Convenience wrapper for bool(out GetCallbackSolution, double[], int, int) that allocates the output array.
Public method GetCallbackSolution(Boolean, Int32, Int32)
Convenience wrapper for bool(out GetCallbackSolution, double[], int, int) that allocates the output array.
Public method GetCallbackSolution(Boolean, Double, Int32, Int32)
Returns the solution associated with the current callback.
Public methodStatic member GetCannotAddConstraints
Error message in case we attempt to create rows with Variables where this is not possible.
Public methodStatic member GetCannotAddPWLs
Error message in case we attempt to create rows with Variables where this is not possible.
Public methodStatic member GetCannotAddSets
Error message in case we attempt to create sets where this is not possible.
Public methodStatic member GetCannotAddVariables
Error message in case we attempt to create variables where this is not possible.
Public method GetCoef(Int32, Int32)
Convenience wrapper for GetCoef(int,int,double) that returns the output argument.
Public method GetCoef(Int32, Int32, Double)
Returns a single coefficient in the constraint matrix.
Public method GetCols(Int32, Int32)
Get range of columns.
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, Int32, Double, Int32, Cut, Double)
Returns a list of cut indices from the cut pool.
Public method GetCPCutList(Int32, Int32, Double, Int32, Int32, Cut, Double)
Returns a list of cut indices from the cut pool.
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, Int32, Int32, Cut)
Retrieves a list of cut pointers for the cuts active at the current node.
Public method GetCutList(Int32, Int32, Int32, Int32, Cut)
Retrieves a list of cut pointers for the cuts active at the current node.
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(Cut)
Convenience wrapper for GetCutSlack(Cut,double) that returns the output argument.
Public method GetCutSlack(Cut, Double)
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)
Convenience wrapper for GetDblAttrib(int,double) that returns the output argument.
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)
Convenience wrapper for GetDblControl(int,double) that returns the output argument.
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 GetDiscreteCols
Get information about MIP entities.
Public method GetDual(Int32)
Convenience wrapper for int(out GetDuals, double[], int, int) that queries only a single value.
Public method GetDual(Int32, Int32)
Convenience wrapper for int(out GetDuals, double[], int, int) that queries only a single value.
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()
Convenience wrapper for int(out GetDuals, double[], int, int) that allocates the output array and queries all elements.
Public method GetDuals(Int32)
Convenience wrapper for GetDuals(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetDuals(Int32, Int32)
Convenience wrapper for int(out GetDuals, double[], int, int) that allocates the output array.
Public method GetDuals(Int32, Int32, Int32)
Convenience wrapper for int(out GetDuals, double[], int, int) that allocates the output array.
Public method GetDuals(Int32, Double, Int32, Int32)
Used to obtain the dual values associated with the incumbent solution during or after optimization of a continuous problem with optimize, lpOptimize or nlpOptimize.
Public method GetGenCons(Int32, Int32)
Query a range of general constraints.
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 GetIISData(Int32)
Get information about an IIS.
Public method GetIISData(Int32, Int32, Int32, Int32, Int32, Char, Char, Double, Double, Char, Char)
Returns information for an Irreducible Infeasible Set: size, variables and constraints (row and column vectors), and conflicting sides of the variables. For pure linear problems there is also information on duals, reduced costs and isolations.
Public method GetIndex(Int32, String)
Convenience wrapper for GetIndex(int,string,int) that returns the output argument.
Public method GetIndex(Int32, String, Int32)
Returns the index for a specified row or column name.
Public method GetIndicator
Get indicator information for a single row.
Public method GetIndicators(Int32, Int32)
Get indicator information for a range of rows. Returns indicator information for the rows in [ first, last] that actually are indicator rows. No data is returned for rows in this range that are not indicator rows.
Public method GetIndicators(Int32, Int32, Int32, Int32)
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)
Convenience wrapper for GetIntAttrib(int,int) that returns the output argument.
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)
Convenience wrapper for GetIntControl(int,int) that returns the output argument.
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 XPRSobject.GetLastError().)
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)
Convenience wrapper for GetLongAttrib(int,long) that returns the output argument.
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)
Convenience wrapper for GetLongControl(int,long) that returns the output argument.
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 Obsolete.
Used to obtain a single LP solution value following optimization.
Public method GetLpSolX
Get the x values of a solution.
Public method GetMessageStatus(Int32)
Convenience wrapper for GetMessageStatus(int,int) that returns the output argument.
Public method GetMessageStatus(Int32, Int32)
Retrieves the current suppression status of a message.
Public method GetMIPEntities()
Get information about MIP entities and SOS.
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() Obsolete.
Get a solution.
Public method GetMipSol(Double) Obsolete.
Used to obtain the solution values of the last MIP solution that was found.
Public method GetMipSol(Double, Double) Obsolete.
Used to obtain the solution values of the last MIP solution that was found.
Public method GetMipSolSlack Obsolete.
Get the slack values of a solution.
Public method GetMipSolVal Obsolete.
Used to obtain a single solution value of the last MIP solution that was found.
Public method GetMipSolX Obsolete.
Get the x values of a solution.
Public method GetMQObj(Int32, Int32)
Get quadratic objective matrix for range of columns.
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(Int32, Int32)
Get the name of a single element.
Public method GetName(Namespaces, Int32)
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(Namespaces, 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 GetNames(Namespaces, String, Int32, Int32)
Get names. Retrieves names for a certain type of objects.
Public method GetNlpsol Obsolete.
Obtain the current SLP solution values
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(Int32, Int32)
Convenience wrapper for GetObjDblAttrib(int,int,double) that returns the output argument.
Public method GetObjDblAttrib(Int32, Int32, Double)
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(Int32, ObjControl)
Convenience wrapper for GetObjDblControl(int,ObjControl,double) that returns the output argument.
Public method GetObjDblControl(Int32, ObjControl, Double)
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)
Convenience wrapper for GetObjIntAttrib(int,int,int) that returns the output argument.
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(Int32, ObjControl)
Convenience wrapper for GetObjIntControl(int,ObjControl,int) that returns the output argument.
Public method GetObjIntControl(Int32, ObjControl, Int32)
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 GetObjLongAttrib
Convenience wrapper for GetObjIntAttrib(int,int,long) that returns the output argument.
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)
Convenience wrapper for GetQObj(int,int,double) that returns the output argument.
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)
Convenience wrapper for GetQRowCoeff(int,int,int,double) that returns the output argument.
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 GetRedCost(Int32)
Convenience wrapper for int(out GetRedCosts, double[], int, int) that queries only a single value.
Public method GetRedCost(Int32, Int32)
Convenience wrapper for int(out GetRedCosts, double[], int, int) that queries only a single value.
Public method GetRedCosts()
Convenience wrapper for int(out GetRedCosts, double[], int, int) that allocates the output array and queries all elements.
Public method GetRedCosts(Int32)
Convenience wrapper for GetRedCosts(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetRedCosts(Int32, Int32)
Convenience wrapper for int(out GetRedCosts, double[], int, int) that allocates the output array.
Public method GetRedCosts(Int32, Int32, Int32)
Convenience wrapper for int(out GetRedCosts, double[], int, int) that allocates the output array.
Public method GetRedCosts(Int32, Double, Int32, Int32)
Used to obtain the reduced costs associated with the incumbent solution during or after optimization of a continuous problem with optimize, lpOptimize or nlpOptimize.
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)
Get range 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 GetScale
Returns the the current scaling of the matrix.
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 GetSetDefinitions
Get information about SOS.
Public method GetSetName
Get a Set (SOS) name.
Public method GetSetNames
Get names of Sets (SOS).
Public method GetSets
Get information about SOS.
Public method GetSlack(Int32)
Convenience wrapper for int(out GetSlacks, double[], int, int) that queries only a single value.
Public method GetSlack(Int32, Int32)
Convenience wrapper for int(out GetSlacks, double[], int, int) that queries only a single value.
Public method GetSlacks()
Convenience wrapper for int(out GetSlacks, double[], int, int) that allocates the output array and queries all elements.
Public method GetSlacks(Int32)
Convenience wrapper for GetSlacks(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetSlacks(Int32, Int32)
Convenience wrapper for int(out GetSlacks, double[], int, int) that allocates the output array.
Public method GetSlacks(Int32, Int32, Int32)
Convenience wrapper for int(out GetSlacks, double[], int, int) that allocates the output array.
Public method GetSlacks(Int32, Double, Int32, Int32)
Used to obtain the slack values associated with the incumbent solution during or after optimization with optimize, mipOptimize, lpOptimize or nlpOptimize.
Public method GetSolDjs Obsolete.
Get the djs values of a solution.
Public method GetSolDuals Obsolete.
Get the duals values of a solution.
Public method GetSolSlack Obsolete.
Get the slack values of a solution.
Public method GetSolution()
Convenience wrapper for int(out GetSolution, double[], int, int) that allocates the output array and queries all elements.
Public method GetSolution(Int32)
Convenience wrapper for int(out GetSolution, double[], int, int) that queries only a single value.
Public method GetSolution(Int32)
Convenience wrapper for GetSolution(IntHolder, double[], int, int) that allocates the output array and queries all elements.
Public method GetSolution(Int32, Int32)
Convenience wrapper for int(out GetSolution, double[], int, int) that allocates the output array.
Public method GetSolution(Int32, Int32)
Convenience wrapper for int(out GetSolution, double[], int, int) that queries only a single value.
Public method GetSolution(Int32, Int32, Int32)
Convenience wrapper for int(out GetSolution, double[], int, int) that allocates the output array.
Public method GetSolution(Int32, Double, Int32, Int32)
Used to obtain the incumbent solution during or after optimization with optimize, mipOptimize, lpOptimize or nlpOptimize.
Public method GetSolX Obsolete.
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
Returns the value of a given string control parameters.
Public method GetStrStringAttrib
Enables users to recover the values of various string problem attributes. Problem attributes are set during loading and optimization of a problem.
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()
Convenience wrapper for GetUnbVec(int) that returns the output argument.
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). This function applies only to linear problems.
Public method IISStatus()
Get the IIS status.
Public method IISStatus(Int32, Int32, Int32, Double, Int32)
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, Func<Int32, 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, Func<Int32, Double>, Func<Int32, Double>, Func<Int32, String>)
Create an array of integer variables.
Public method IntVarArray<T>(ICollection<T>, Double, Double, Func<T, 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 IntVarArray<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, String>)
Create an array of integer variables. The function will create one variable for each of the objects listed in objs.
Public method IntVarMap<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, 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 IntVarMap<T>(ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, String>, IDictionary<T, 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, 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 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(Double, Double, Double, Double)
Convenience wrapper for LoadLPSol(double[],double[],double[],double[],int) that returns the output argument.
Public method LoadLPSol(Double, Double, Double, Double, Int32)
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)
Convenience wrapper for LoadMipSol(double[],int) that returns the output argument.
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.
Public method Maxim(String) Obsolete.
Begins a search for the optimal LP solution.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Minim() Obsolete.
Begins a search for the optimal LP solution.
Public method Minim(String) Obsolete.
Begins a search for the optimal LP solution.
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
A combined version of XSLPmsaddjob and XSLPmsaddpreset. The preset described is loaded, topped up with the specific settings supplied
Public method MsAddJob
Adds a multistart job to the multistart pool
Public method MsAddPreset
Loads a preset of jobs into the multistart job pool.
Public method MsClear
Removes all scheduled jobs from the multistart job pool
Public method NextIIS()
Convenience wrapper for NextIIS(int) that returns the output argument.
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
Add non-linear formulas to the SLP problem.
Public method NlpCalcSlacks
Calculate the slack values for the provided solution in the non-linear problem
Public method NlpChgFormula
Add or replace a single matrix formula using a parsed or unparsed formula
Public method NlpChgFormulaStr
Add or replace a single matrix formula using a character string for the formula.
Public method NlpChgFormulaString Obsolete.
Add or replace a single matrix formula using a character string for the formula.
Public method NlpCurrentIV
Transfer the current solution to initial values
Public method NlpDelFormulas
Delete nonlinear formulas from the current problem
Public method NlpDelUserFunction
Delete a user function from the current problem
Public method NlpEvaluateFormula(Int32, Int32, Double)
Convenience wrapper for NlpEvaluateFormula(int,int[],double[],double) that returns the output argument.
Public method NlpEvaluateFormula(Int32, Int32, Double, Double)
Evaluate a formula using the current values of the variables
Public method NlpGetFormula
Retrieve a single matrix formula as a formula split into tokens.
Public method NlpGetFormulaRows
Retrieve the list of positions of the nonlinear formulas in the problem
Public method NlpGetFormulaStr
Retrieve a single matrix formula in a character string.
Public method NlpGetFormulaString Obsolete.
Retrieve a single matrix formula in a character string.
Public method NlpImportLibFunc
Imports a function from a library file to be called as a user function
Public method NlpLoadFormulas
Load non-linear formulas into the SLP problem
Public method NlpOptimize
Maximize or minimize an SLP problem
Public method NlpPostsolveProb
Restores the problem to its pre-solve state
Public method NlpPrintEvalInfo
Print a summary of any evaluation errors that may have occurred during solving a problem
Public method NlpSetFunctionError
Set the function error flag for the problem
Public method NlpSetInitVal(Int32, Double)
Convenience wrapper for NlpSetInitVal(int, int[], double[]).
Public method NlpSetInitVal(Int32, Int32, Double)
Set the initial value of a variable
Public method NlpValidate
Validate the feasibility of constraints in a converged solution
Public method NlpValidateKKT
Validates the first order optimality conditions also known as the Karush-Kuhn-Tucker (KKT) conditions versus the currect solution
Public method NlpValidateRow
Prints an extensive analysis on a given constraint of the SLP problem
Public method NlpValidateVector
Validate the feasibility of constraints for a given solution
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(XPRSprob.RowInfo)
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 PrintIIS
Prints a given Irreducible Infeasible Set (IIS) in the log. If 0 is passed as the IIS number parameter, the initial infeasible subproblem is printed.
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.
Public method RemoveAfterObjectiveCallback
Remove AfterObjective callback.
Public method RemoveAfterObjectiveCallbacks
Remove all AfterObjective callbacks.
Public method RemoveBarIterationCallback
Remove BarIteration callback.
Public method RemoveBarIterationCallbacks
Remove all BarIteration callbacks.
Public method RemoveBarlogCallback
Remove Barlog callback.
Public method RemoveBarlogCallbacks
Remove all Barlog callbacks.
Public method RemoveBeforeObjectiveCallback
Remove BeforeObjective callback.
Public method RemoveBeforeObjectiveCallbacks
Remove all BeforeObjective callbacks.
Public method RemoveBeforeSolveCallback
Remove BeforeSolve callback.
Public method RemoveBeforeSolveCallbacks
Remove all BeforeSolve callbacks.
Public method RemoveChangeBranchObjectCallback
Remove ChangeBranchObject callback.
Public method RemoveChangeBranchObjectCallbacks
Remove all ChangeBranchObject callbacks.
Public method RemoveCheckTimeCallback
Remove CheckTime callback.
Public method RemoveCheckTimeCallbacks
Remove all CheckTime callbacks.
Public method RemoveChgbranchCallback Obsolete.
Remove Chgbranch callback.
Public method RemoveChgbranchCallbacks Obsolete.
Remove all Chgbranch callbacks.
Public method RemoveChgnodeCallback Obsolete.
Remove Chgnode callback.
Public method RemoveChgnodeCallbacks Obsolete.
Remove all Chgnode callbacks.
Public method RemoveComputeRestartCallback
Remove ComputeRestart callback.
Public method RemoveComputeRestartCallbacks
Remove all ComputeRestart callbacks.
Public method RemoveCutlogCallback
Remove Cutlog callback.
Public method RemoveCutlogCallbacks
Remove all Cutlog callbacks.
Public method RemoveCutmgrCallback Obsolete.
Remove Cutmgr callback.
Public method RemoveCutmgrCallbacks Obsolete.
Remove all Cutmgr callbacks.
Public method RemoveGapNotifyCallback
Remove GapNotify callback.
Public method RemoveGapNotifyCallbacks
Remove all GapNotify callbacks.
Public method RemoveInfnodeCallback
Remove Infnode callback.
Public method RemoveInfnodeCallbacks
Remove all Infnode callbacks.
Public method RemoveIntsolCallback
Remove Intsol callback.
Public method RemoveIntsolCallbacks
Remove all Intsol callbacks.
Public method RemoveLplogCallback
Remove Lplog callback.
Public method RemoveLplogCallbacks
Remove all Lplog callbacks.
Public method RemoveMessageCallback
Remove Message callback.
Public method RemoveMessageCallbacks
Remove all Message callbacks.
Public method RemoveMiplogCallback
Remove Miplog callback.
Public method RemoveMiplogCallbacks
Remove all Miplog callbacks.
Public method RemoveMipThreadCallback
Remove MipThread callback.
Public method RemoveMipThreadCallbacks
Remove all MipThread callbacks.
Public method RemoveMipThreadDestroyCallback
Remove MipThreadDestroy callback.
Public method RemoveMipThreadDestroyCallbacks
Remove all MipThreadDestroy callbacks.
Public method RemoveMsgHandlerCallback
Remove MsgHandler callback.
(Overrides XPRSobject.RemoveMsgHandlerCallback(MsgHandlerCallback).)
Public method RemoveMsgHandlerCallbacks
Remove all MsgHandler callbacks.
(Overrides XPRSobject.RemoveMsgHandlerCallbacks().)
Public method RemoveMsJobEndCallback
Remove MsJobEnd callback.
Public method RemoveMsJobEndCallbacks
Remove all MsJobEnd callbacks.
Public method RemoveMsJobStartCallback
Remove MsJobStart callback.
Public method RemoveMsJobStartCallbacks
Remove all MsJobStart callbacks.
Public method RemoveMsWinnerCallback
Remove MsWinner callback.
Public method RemoveMsWinnerCallbacks
Remove all MsWinner callbacks.
Public method RemoveNewnodeCallback
Remove Newnode callback.
Public method RemoveNewnodeCallbacks
Remove all Newnode callbacks.
Public method RemoveNlpCoefEvalErrorCallback
Remove NlpCoefEvalError callback.
Public method RemoveNlpCoefEvalErrorCallbacks
Remove all NlpCoefEvalError callbacks.
Public method RemoveNodecutoffCallback
Remove Nodecutoff callback.
Public method RemoveNodecutoffCallbacks
Remove all Nodecutoff callbacks.
Public method RemoveNodeLPSolvedCallback
Remove NodeLPSolved callback.
Public method RemoveNodeLPSolvedCallbacks
Remove all NodeLPSolved callbacks.
Public method RemoveOptnodeCallback
Remove Optnode callback.
Public method RemoveOptnodeCallbacks
Remove all Optnode callbacks.
Public method RemovePreIntsolCallback
Remove PreIntsol callback.
Public method RemovePreIntsolCallbacks
Remove all PreIntsol callbacks.
Public method RemovePrenodeCallback
Remove Prenode callback.
Public method RemovePrenodeCallbacks
Remove all Prenode callbacks.
Public method RemovePresolveCallback
Remove Presolve callback.
Public method RemovePresolveCallbacks
Remove all Presolve callbacks.
Public method RemoveSlpCascadeEndCallback
Remove SlpCascadeEnd callback.
Public method RemoveSlpCascadeEndCallbacks
Remove all SlpCascadeEnd callbacks.
Public method RemoveSlpCascadeStartCallback
Remove SlpCascadeStart callback.
Public method RemoveSlpCascadeStartCallbacks
Remove all SlpCascadeStart callbacks.
Public method RemoveSlpCascadeVarCallback
Remove SlpCascadeVar callback.
Public method RemoveSlpCascadeVarCallbacks
Remove all SlpCascadeVar callbacks.
Public method RemoveSlpCascadeVarFailCallback
Remove SlpCascadeVarFail callback.
Public method RemoveSlpCascadeVarFailCallbacks
Remove all SlpCascadeVarFail callbacks.
Public method RemoveSlpConstructCallback
Remove SlpConstruct callback.
Public method RemoveSlpConstructCallbacks
Remove all SlpConstruct callbacks.
Public method RemoveSlpDrColCallback
Remove SlpDrCol callback.
Public method RemoveSlpDrColCallbacks
Remove all SlpDrCol callbacks.
Public method RemoveSlpIntSolCallback
Remove SlpIntSol callback.
Public method RemoveSlpIntSolCallbacks
Remove all SlpIntSol callbacks.
Public method RemoveSlpIterEndCallback
Remove SlpIterEnd callback.
Public method RemoveSlpIterEndCallbacks
Remove all SlpIterEnd callbacks.
Public method RemoveSlpIterStartCallback
Remove SlpIterStart callback.
Public method RemoveSlpIterStartCallbacks
Remove all SlpIterStart callbacks.
Public method RemoveSlpIterVarCallback
Remove SlpIterVar callback.
Public method RemoveSlpIterVarCallbacks
Remove all SlpIterVar callbacks.
Public method RemoveSlpPreUpdateLinearizationCallback
Remove SlpPreUpdateLinearization callback.
Public method RemoveSlpPreUpdateLinearizationCallbacks
Remove all SlpPreUpdateLinearization callbacks.
Public method RemoveUserSolNotifyCallback
Remove UserSolNotify callback.
Public method RemoveUserSolNotifyCallbacks
Remove all UserSolNotify callbacks.
Public method RepairInfeas(Char, Char, Char, Double, Double, Double, Double, Double)
Convenience wrapper for RepairInfeas(int,char,char,char,double,double,double,double,double) that returns the output argument.
Public method RepairInfeas(Int32, Char, Char, Char, Double, Double, Double, Double, Double)
Provides a simplified interface for repairWeightedInfeas.
Public method RepairWeightedInfeas(Double, Double, Double, Double, Char, Double, String)
Convenience wrapper for RepairWeightedInfeas(int,double[],double[],double[],double[],char,double,string) that returns the output argument.
Public method RepairWeightedInfeas(Int32, Double, Double, Double, Double, Char, Double, String)
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 the original objective function. For the console version, see REPAIRINFEAS.
Public method RepairWeightedInfeasBounds(Double, Double, Double, Double, Double, Double, Double, Double, Char, Double, String)
Convenience wrapper for RepairWeightedInfeasBounds(int,double[],double[],double[],double[],double[],double[],double[],double[],char,double,string) that returns the output argument.
Public method RepairWeightedInfeasBounds(Int32, Double, Double, Double, Double, Double, Double, Double, Double, Char, Double, String)
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.
Protected method RowTypeToArray
Convert a column type array to an array of low-level type indicators.
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
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 Scale
Re-scales the current matrix.
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 SetIndicator
Add a single indicator constraint.
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
Add non-linear coefficients to the SLP problem. For a simpler version of this function see XSLPaddformulas.
Public method SlpCascadeOrder
Establish a re-calculation sequence for SLP variables with determining rows.
Public method SlpCascadeSol
Re-calculate consistent values for SLP variables based on the current values of the remaining variables.
Public method SlpChgCascadeNLimit
Set a variable specific cascade iteration limit
Public method SlpChgCCoef Obsolete.
Add or change a single matrix coefficient using a character string for the formula. For a simpler version of this function see nlpChgFormulaStr.
Public method SlpChgCoef
Add or change a single matrix coefficient using a parsed or unparsed formula. For a simpler version of this function see XSLPchgformula.
Public method SlpChgCoefStr
Add or change a single matrix coefficient using a character string for the formula. For a simpler version of this function see nlpChgFormulaStr.
Public method SlpChgDeltaType
Changes the type of the delta assigned to a nonlinear variable
Public method SlpChgRowStatus(Int32)
Convenience wrapper for SlpChgRowStatus(int,int) that returns the output argument.
Public method SlpChgRowStatus(Int32, Int32)
Change the status setting of a constraint
Public method SlpChgRowWt
Set or change the initial penalty error weight for a row
Public method SlpConstruct
Create the full augmented SLP matrix and data structures, ready for optimization
Public method SlpDelCoefs(Int32, Int32)
Convenience wrapper for SlpDelCoefs(int, int[], int[]).
Public method SlpDelCoefs(Int32, Int32, Int32)
Delete coefficients from the current problem. For a simpler version of this function see XSLPdelformulas.
Public method SlpEvaluateCoef(Int32, Int32)
Convenience wrapper for SlpEvaluateCoef(int,int,double) that returns the output argument.
Public method SlpEvaluateCoef(Int32, Int32, Double)
Evaluate a coefficient using the current values of the variables
Public method SlpFixPenalties
Fixe the values of the error vectors
Public method SlpGetCCoef Obsolete.
Retrieve a single matrix coefficient as a formula in a character string. For a simpler version of this function see nlpGetFormulaStr.
Public method SlpGetCoefFormula
Retrieve a single matrix coefficient as a formula split into tokens. For a simpler version of this function see XSLPchgformula.
Public method SlpGetCoefs
Retrieve the list of positions of the nonlinear coefficients in the problem. For a simpler version of this function see XSLPgetformularows.
Public method SlpGetCoefStr
Retrieve a single matrix coefficient as a formula in a character string. For a simpler version of this function see nlpGetFormulaStr.
Public method SlpGetRowStatus
Retrieve the status setting of a constraint
Public method SlpGetRowWT(Int32)
Convenience wrapper for SlpGetRowWT(int,double) that returns the output argument.
Public method SlpGetRowWT(Int32, Double)
Get the initial penalty error weight for a row
Public method SlpLoadCoefs
Load non-linear coefficients into the SLP problem. For a simpler version of this function see XSLPloadformulas.
Public method SlpReInitialize
Reset the SLP problem to match a just augmented system
Public method SlpSetDetRow(Int32, Int32)
Convenience wrapper for SlpSetDetRow(int, int[], int[]).
Public method SlpSetDetRow(Int32, Int32, Int32)
Set the determining row of a variable
Public method SlpUnConstruct
Removes the augmentation and returns the problem to its pre-linearization state
Public method SlpUpdateLinearization
Updates the current linearization
Public method SparseBTran
Post-multiplies a (row) vector provided by the user by the inverse of the current matrix. Sparse version of bTran.
Public method SparseFTran
Pre-multiplies a (column) vector provided by the user by the inverse of the current matrix. Sparse version of fTran.
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 before they become active.
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 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 TuneProbSetFile
This function begins a tuner session for a set of problems. The tuner will solve the problems 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 problems.
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, Func<Int32, 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, Func<Int32, Double>, Func<Int32, Double>, Func<Int32, String>)
Create an array of variables with the same type.
Public method VarArray<T>(Char, ICollection<T>, Double, Double, Func<T, 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 VarArray<T>(Char, ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, 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 VarMap<T>(Char, ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, 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 VarMap<T>(Char, ICollection<T>, Func<T, Double>, Func<T, Double>, Func<T, String>, IDictionary<T, 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)
Writes the current solution to a CSV format ASCII file, problem_name .asc (and .hdr).
Top
See Also

© 2001-2024 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.