Class LinearConstraint represents a linear constraint for a constrained optimization
problem.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class LinearConstraint : Constraint, IEquatable<LinearConstraint> |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class LinearConstraint _ Inherits Constraint _ Implements IEquatable(Of LinearConstraint) |
| Visual C++ |
|---|
[SerializableAttribute] public ref class LinearConstraint : public Constraint, IEquatable<LinearConstraint^> |
Remarks
A linear constraint on a set of variables is a constraint upon a linear
combination of those variables. The LinearConstraint class
supports to two such constraints: equality constraints and lower bound
constraints. That is, given variables x0, x1,..., xn and constants
b, a0, a1,..., an two types of constraints may be formed
a0*x0 + a1*x1 + . . . + an*xn = b
and
a0*x0 + a1*x1 + . . . + an*xn >= b
Upper bound constraints are represented as negations of lower bound constraints.
a0*x0 + a1*x1 + . . . + an*xn = b
and
a0*x0 + a1*x1 + . . . + an*xn >= b
Upper bound constraints are represented as negations of lower bound constraints.
Inheritance Hierarchy
System..::.Object
CenterSpace.NMath.Analysis..::.Constraint
CenterSpace.NMath.Analysis..::.LinearConstraint
CenterSpace.NMath.Analysis..::.Constraint
CenterSpace.NMath.Analysis..::.LinearConstraint