Class HighsWrapper17x.SparseModelRepresentation
A sparse row-wise matrix representation of a Model.
Inheritance
System.Object
HighsWrapper17x.SparseModelRepresentation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: OPTANO.Modeling.Optimization.Solver.Highs17x
Assembly: Optimization.Solver.Highs17x.dll
Syntax
public class SparseModelRepresentation
Properties
ColumnCoefficients
Size: Number of occurring variables in all constraints
Declaration
public double[] ColumnCoefficients { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
ColumnIndices
Size: Number of occurring variables in all constraints Content: Index of column (aka Variable). Used to index VariableLowerBounds and VariableUpperBounds.
Declaration
public int[] ColumnIndices { get; set; }
Property Value
Type | Description |
---|---|
System.Int32[] |
ConstraintLowerBounds
Size: #model.Constraints
Declaration
public double[] ConstraintLowerBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
ConstraintUpperBounds
Size #model.Constraints
Declaration
public double[] ConstraintUpperBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
HighsIntegrality
Gets or sets the
Declaration
public int[] HighsIntegrality { get; set; }
Property Value
Type | Description |
---|---|
System.Int32[] |
RowStartIndices
Size #model.Constraints Content is used to index ColumnIndices and ColumnCoefficients.
Declaration
public int[] RowStartIndices { get; set; }
Property Value
Type | Description |
---|---|
System.Int32[] |
VariableLowerBounds
Gets or sets the variable LBs.
Declaration
public double[] VariableLowerBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
VariableUpperBounds
Gets or sets the variable UBs.
Declaration
public double[] VariableUpperBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
Methods
SetIntegralityFromVariables(IList<Variable>)
Converts the variable types from variables
into HiGHS representation.
Declaration
public void SetIntegralityFromVariables(IList<Variable> variables)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<Variable> | variables |