NlpFailure

it.grypho.scala.leonardo.optimize.NlpFailure
enum NlpFailure

Why nlpSolve declined (F_0052 Decision A: a reason at the Scala level, which the REPL appends as a note). The node itself stays symbolic.

Attributes

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

Members list

Type members

Enum entries

final case class Infeasible(iteration: Int)

No feasible point was found: SQP's linearised constraints admit no step at iteration, or the augmented Lagrangian's penalty grew past MaxNlpPenalty with the constraints still violated. Neither proves the problem infeasible — a local method cannot — but no answer is given.

No feasible point was found: SQP's linearised constraints admit no step at iteration, or the augmented Lagrangian's penalty grew past MaxNlpPenalty with the constraints still violated. Neither proves the problem infeasible — a local method cannot — but no answer is given.

Attributes

final case class InvalidInput(detail: String)

The problem as written is malformed; detail says how.

The problem as written is malformed; detail says how.

Attributes

final case class LineSearchFailed(iteration: Int)

The line search found no acceptable step at iteration.

The line search found no acceptable step at iteration.

Attributes

final case class MaxIterations(limit: Int, kktResidual: Double)

The iteration cap was reached; kktResidual is what the certificate measured there.

The iteration cap was reached; kktResidual is what the certificate measured there.

Attributes

case NotEvaluable extends NlpFailure

The objective, a constraint or a derivative is not a real number at an iterate.

The objective, a constraint or a derivative is not a real number at an iterate.

Attributes

final case class Stalled(kktResidual: Double)

Progress stopped short of the certificate; kktResidual is what was left.

Progress stopped short of the certificate; kktResidual is what was left.

Attributes

final case class Subproblem(iteration: Int, why: QpFailure)

SQP's quadratic subproblem declined at iteration for a reason other than infeasibility.

SQP's quadratic subproblem declined at iteration for a reason other than infeasibility.

Attributes