﻿BoundedVariableProblem Class   # BoundedVariableProblem Class

Abstract class for representing a problem with bounded variables. Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4 Syntax
`public abstract class BoundedVariableProblem`

The BoundedVariableProblem type exposes the following members. Constructors
NameDescription BoundedVariableProblem
Constructs a BoundedVariableProblem with not bounds. BoundedVariableProblem(BoundedVariableProblem)
Copy constructor.
Top Properties
NameDescription NumVariables
Gets the number of variables in the problem. VariableBounds
Gets and sets variable bounds for the problem.
Top Methods
NameDescription AddBounds(Int32, Double, Double)
Adds upper and lower bound constraints to a variable. AddBounds(Int32, Double, Double, Double)
Adds upper and lower bound constraints to a variable. AddLowerBound(Int32, Double)
Adds an lower bound constraint on the variable at the given index. AddLowerBound(Int32, Double, Double)
Adds an lower bound constraint on the variable at the given index. AddUpperBound(Int32, Double)
Adds an upper bound constraint on the variable at the given index. AddUpperBound(Int32, Double, Double)
Adds an upper bound constraint on the variable at the given index.  BoundsToConstraints
Constructs a list of linear constraints representing the bounds in the given VariableBounds instance. CheckVariableIndex
Checks that the given variable index is valid. PointIsFeasible(DoubleVector)
Function for determining the feasibility of a give point. A point x is feasible if it satisfies all the constraints of the problem. PointIsFeasible(DoubleVector, Double)
Function for determining the feasibility of a give point. A point x is feasible if it satisfies all the constraints of the problem within a specified tolerance.
Top Fields
NameDescription variableBounds_
Map containing variable bounds. Key is the variable ID, the value is the bounds.
Top See Also