Defining OptimizationProblems
SciMLBase.OptimizationProblem is defined and documented by SciMLBase. Optimization.jl accepts that problem type and provides the following local objective-sense aliases:
SciMLBase.OptimizationProblem — Type
OptimizationProblem(nlpmodel::AbstractNLPModel, adtype::AbstractADType = NoAD())Returns an OptimizationProblem with the bounds and constraints defined in nlpmodel. The optimization function and its derivatives are re-used from nlpmodel when available or populated wit the Automatic Differentiation backend specified by adtype.
OptimizationBase.ObjSense — Type
ObjSenseEnumeration type describing whether an optimization problem is minimized or maximized. Use MinSense or MaxSense as the value of the OptimizationProblemsense keyword.
OptimizationBase.MinSense — Constant
MinSenseObjective sense selecting minimization for an OptimizationProblem.
OptimizationBase.MaxSense — Constant
MaxSenseObjective sense selecting maximization for an OptimizationProblem.