Class InvalidOptimizableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidOptimizableException
    extends OptimizationException
    Exception thrown by optimization algorithms, when the problem is usually due to a problem with the given Maximizable instance.

    If the optimizer throws this in your code, usually there are two possible causes: (a) you are computing the gradients approximately, (b) your value function and gradient do not match (this can be checking using

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidOptimizableException

        public InvalidOptimizableException()
      • InvalidOptimizableException

        public InvalidOptimizableException​(java.lang.String message)
      • InvalidOptimizableException

        public InvalidOptimizableException​(java.lang.String message,
                                           java.lang.Throwable cause)
      • InvalidOptimizableException

        public InvalidOptimizableException​(java.lang.Throwable cause)