LpResult

it.grypho.scala.leonardo.optimize.LpResult
case class LpResult(x: Vector[_Value], objective: _Value, iterations: Int, active: Vector[QpConstraint])

An optimal vertex of a linear program.

Value parameters

active

the inequality rows and bounds holding with equality, named as in qp

iterations

simplex pivots, both phases

objective

fᵀx there, in the same tier

x

the minimiser: exact rationals when every coefficient was exact, Doubles otherwise (the exact optimum of the given Doubles, rounded once at the end)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product