44#ifndef quantext_optimization_method_mt_h
45#define quantext_optimization_method_mt_h
47#include <ql/math/optimization/endcriteria.hpp>
70 const EndCriteria& endCriteria) = 0;
72 EndCriteria::Type
minimize(Problem&,
const EndCriteria&)
override {
73 QL_FAIL(
"OptimizationMethod_MT requires Problem_MT, got Problem");
Abstract class for constrained optimization method.
virtual ~OptimizationMethod_MT()
virtual EndCriteria::Type minimize(Problem_MT &P, const EndCriteria &endCriteria)=0
minimize the optimization problem P
EndCriteria::Type minimize(Problem &, const EndCriteria &) override
Constrained optimization problem.
const P2_< E1, E2 > P(const E1 &e1, const E2 &e2)
Abstract optimization problem class (for multithreaded optimization methods)