![]() | ConstrainedOptimizerORTools Class |
Namespace: CenterSpace.NMath.Core
The ConstrainedOptimizerORTools type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConstrainedOptimizerORTools | Initializes a new instance of the ConstrainedOptimizerORTools class |
Name | Description | |
---|---|---|
![]() | ExceptionMessage |
If the solver result is SolverResult.UnexpectedException
gets the exception message property.
|
![]() | OptimalObjectiveFunctionValue |
Gets the optimal objective function value if the solve result is
SolverResult.Optimal, or the current solution value if the result is
SolverResult.SolutionFeasibleButNotOptimal
Otherwise the value is Double.NaN.
|
![]() | OptimalX |
Gets the optimal value if the solve result is SolverResult.Optimal,
or the current solution value if the result is
SolverResult.SolutionFeasibleButNotOptimal
Contains an empty vector otherwise.
|
![]() | Result |
Gets the result of the most recent solve attempt.
|
Name | Description | |
---|---|---|
![]() | AddConstraints |
Adds the linear constraints in the given linearly constrained problem to a Google OR-tools GLOP linear model.
|
![]() | AddVariablesAndBounds |
Adds the variables in the given linearly constrained problem to a Google OR-tools GLOP linear model
|
![]() | SetStatus |
Sets the SolverResult value base on Google OR-Tools ResultStatus value.
|
Name | Description | |
---|---|---|
![]() | exceptionMessage_ |
Constains exception message if there is an unexpected exception
during the solve.
|
![]() | optimalValue_ |
Optimal value of the objective function if the the result of
the solver is SolveResult.Optimal |
![]() | optimalX_ |
Optimal solution value of the the result if the solver is
SolveResult.Optimal |
![]() | result_ |
Result of the solver attempt.
|