package ocplib-simplex

  1. Overview
  2. Docs
val get : (Core.P.t * bool) option -> Core.t -> Core.result

get (objective, is_max_bounded) env retrieves the result from a simplex env.

This needs to be called after the system env has been solved by SolveBounds.

  • parameter objective

    the optimization objective if any

  • parameter is_max_bounded

    whether the result is bounded

  • parameter env

    the simplex environment (system of linear inequalities) containing the solution

  • returns

    solution that satisfies the constraints if any