This example shows how to load and solve CUTEst problems using PANOC-ALM.
#include <iostream>
const char *so_fname = "CUTEst/ROSENBR/libcutest-problem-ROSENBR.so";
const char *outsdif_fname = "CUTEst/ROSENBR/OUTSDIF.d";
};
std::cout <<
"status: " <<
stats.status << std::endl;
std::cout <<
"x = " <<
x.transpose() << std::endl;
std::cout <<
"y = " <<
y.transpose() << std::endl;
std::cout <<
"g = " <<
g.transpose() << std::endl;
std::cout <<
"f = " <<
p.f(
x) << std::endl;
std::cout <<
"inner: " <<
stats.inner.iterations << std::endl;
std::cout <<
"outer: " <<
stats.outer_iterations << std::endl;
}