Click or drag to resize

ConstrainedOptimizerSolveResult Enumeration

Enum whose value indicate the status of the solution.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
public enum SolveResult
Member nameValueDescription
Optimal0 The algorithm converged to an optimal solution.
LocalOptimal1 The algorithm converged. Local optimal value found.
Unbounded2 the feasible region is unbounded and the goal strictly improves along some half line that is contained in the feasible region.
Infeasible3 indicates that the feasible region is empty — there is no assignment of values to the soliution variables that satisfies all the constraints and domain conditions.
LocalInfeasible4 Completed solve process. A local infeasible value is found, but the solver cannot determine whether the model is globally infeasible.
InvalidModel5 Indicates that the solver was never started or that it threw an exception or otherwise terminated unnaturally.
SolverInterrupted6 Indicates that solving was suspended for some reason. The current values may or may not be feasible.
SolutionFeasibleButNotOptimal7 The solution is feasible, but may not be optimal.
UnexpectedException8 The algorithm encountered an unexpected error.
ModelSizeLimitExceeded9 Models are limited to 50,000 non-zero coefficient.
See Also