Documentation

CvxLean.Lib.Minimization

Minimization and Solution #

This file defines:

These are the building blocks of the rest of the library.

structure Minimization (D : Type) (R : Type) :

Type of an optimization problem.

  • objFun : DR
  • constraints : DProp
Instances For
    @[reducible]
    def Minimization.feasible {D : Type} {R : Type} (p : Minimization D R) (x : D) :

    A point x : D is feasible in p if it satisfies the constraints.

    Equations
    • p.feasible x = p.constraints x
    Instances For
      @[reducible]
      def Minimization.optimal {D : Type} {R : Type} [Preorder R] (p : Minimization D R) (x : D) :

      A point x : D is optimal in p if it is feasible and for any feasible point y : D the value of x is a lower bound to the value of y.

      Equations
      • p.optimal x = (p.feasible x ∀ (y : D), p.feasible yp.objFun x p.objFun y)
      Instances For
        structure Minimization.Solution {D : Type} {R : Type} [Preorder R] (p : Minimization D R) :

        A solution is simply an optimal point.

        • point : D
        • isOptimal : p.optimal self.point
        Instances For
          theorem Minimization.Solution.isOptimal {D : Type} {R : Type} [Preorder R] {p : Minimization D R} (self : p.Solution) :
          p.optimal self.point