Lines Matching defs:solver
1 // Ceres Solver - A fast non-linear least squares minimizer
3 // http://code.google.com/p/ceres-solver/
33 #include "ceres/solver.h"
54 ss << string("Solver::Options::" #x " = ") << options.x << ". "; \
56 ss << string("Solver::Options::" #x " " #OP " "#y); \
65 ss << string("Solver::Options::" #x " = ") << options.x << ". "; \
66 ss << string("Solver::Options::" #y " = ") << options.y << ". "; \
68 ss << string("Solver::Options::" #x ); \
69 ss << string(#OP " Solver::Options::" #y "."); \
81 bool CommonOptionsAreValid(const Solver::Options& options, string* error) {
96 bool TrustRegionOptionsAreValid(const Solver::Options& options, string* error) {
124 "Solver::Options::sparse_linear_algebra_library_type to be "
132 "Solver::Options::sparse_linear_algebra_library_type to be "
207 "solvers. If you want to use an iterative solver please "
216 *error = "Solver::Options::trust_region_problem_dump_directory is empty.";
229 bool LineSearchOptionsAreValid(const Solver::Options& options, string* error) {
249 string("Invalid configuration: Solver::Options::line_search_type = ")
252 "Solver::Options::line_search_type must be set to WOLFE.");
297 bool Solver::Options::IsValid(string* error) const {
310 Solver::~Solver() {}
312 void Solver::Solve(const Solver::Options& options,
314 Solver::Summary* summary) {
331 void Solve(const Solver::Options& options,
333 Solver::Summary* summary) {
334 Solver solver;
335 solver.Solve(options, problem, summary);
338 Solver::Summary::Summary()
391 string Solver::Summary::BriefReport() const {
392 return StringPrintf("Ceres Solver Report: "
403 string Solver::Summary::FullReport() const {
406 "Ceres Solver v" CERES_VERSION_STRING " Solve Report\n"
460 StringAppendF(&report, "Linear solver %25s%25s\n",
481 StringAppendF(&report, "Linear solver threads % 23d% 25d\n",
491 "Linear solver ordering %22s %24s\n",
560 // trust region solver. Line search terminates when it encounters
583 StringAppendF(&report, " Linear solver %23.3f\n",
606 bool Solver::Summary::IsSolutionUsable() const {