MinimizeFailure

it.grypho.scala.leonardo.optimize.MinimizeFailure

Why minimize declined (F_0052 Decision A: a reason at the Scala level, which the REPL appends as a note). The node itself stays symbolic; this is what explains it.

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 HessianNotPositiveDefinite(iteration: Int)

Newton's Hessian is not positive definite at this iteration.

Newton's Hessian is not positive definite at this iteration.

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 this iteration.

The line search found no acceptable step at this iteration.

Attributes

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

MaxMinimizeIterations was reached; the gradient norm is what was left.

MaxMinimizeIterations was reached; the gradient norm is what was left.

Attributes

final case class MethodTakesNoBounds(method: MinimizeMethod)

A method that takes no bounds was given bounds.

A method that takes no bounds was given bounds.

Attributes

The gradient vanishes exactly at the point, but the curvature shows it is a maximum or a saddle, not a minimiser (F_0199).

The gradient vanishes exactly at the point, but the curvature shows it is a maximum or a saddle, not a minimiser (F_0199).

Attributes

The objective or its gradient does not evaluate to a real number at an iterate.

The objective or its gradient does not evaluate to a real number at an iterate.

Attributes

final case class Stalled(gradientNorm: Double)

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

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

Attributes

case Unbounded extends MinimizeFailure

The objective kept decreasing without bound along a search direction.

The objective kept decreasing without bound along a search direction.

Attributes