MathModelSolutionObjectiveValue Field

Objective function value of the solution:
  • Some of the objective function value if the model is IsFeasible,
  • None otherwise.
Underlying value can be unwrapped,
C#
double objValue = solution.ObjectiveValue.Unwrap();
provided that "solution.IsFeasible" or equivalantly "solution.ObjectiveValue.IsSome".

Definition

Namespace: Orx.MathProg.Solvers
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public readonly Opt<double> ObjectiveValue

Field Value

OptDouble

See Also