Class QuadraticConstraint
Class defining a quadratic constraint for the GuidedProjectionAlgorithm.
Namespace: BRIDGES.Solvers.GuidedProjection
Assembly: BRIDGES.dll
Syntax
public class QuadraticConstraint : object
Fields
| Improve this Doc View SourceconstraintType
Constraint type defining the reduced matrix LocalHi, the reduced vector LocalBi and the scalar value Ci.
Declaration
protected IQuadraticConstraintType constraintType
Field Value
Type | Description |
---|---|
IQuadraticConstraintType |
variables
Variables composing the local vector xReduced on which the constraintType is defined.
Declaration
protected List<(VariableSet Set, int Index)> variables
Field Value
Type | Description |
---|---|
List<(, )<VariableSet, Int32>> |
Remarks
The first item corresponds to the variable set and the second to the index of the variable in the set.
Properties
| Improve this Doc View SourceWeight
Gets or sets the value of the weight for the constraint.
Declaration
public double Weight { get; }
Property Value
Type | Description |
---|---|
Double |