19 mat H(2, 2);
H << 3, -1,
21 mat A(1, 2);
A << 2, 1;
66 std::cout <<
"status: " <<
stats.status << std::endl;
67 std::cout <<
"inner iterations: " <<
stats.inner.iterations << std::endl;
68 std::cout <<
"outer iterations: " <<
stats.outer_iterations << std::endl;
69 std::cout <<
"elapsed time: " <<
stats.elapsed_time.count() * 1e-6 <<
's' << std::endl;
70 std::cout <<
"x = " <<
x.transpose() << std::endl;
71 std::cout <<
"y = " <<
y.transpose() << std::endl;
72 std::cout <<
"f = " <<
problem.f(
x) << std::endl;
Augmented Lagrangian Method solver.
Eigen::Ref< const vec > crvec
Default type for immutable references to vectors.
realmat mat
Default type for matrices.
realvec vec
Default type for vectors.
Eigen::Ref< vec > rvec
Default type for mutable references to vectors.
Parameters for the Augmented Lagrangian solver.
Parameters for the LBFGS and SpecializedLBFGS classes.
Tuning parameters for the PANOC algorithm.
Problem description for minimization problems.