--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/8d225fdc-f901-4ca1-a755-5cfc95f72651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Giuseppe,This is great! Would you be willing to send a patch to update the Ceres docs with this technique? We don't have any Windows users in the core Ceres team, and so the Windows support isn't what we'd like it to be.
Thanks for the note,Keir
On Sun, Oct 15, 2017 at 7:47 AM, 'Giuseppe Trapani' via Ceres Solver <ceres-...@googlegroups.com> wrote:
Hello everyone!I just want to chime in for all the Windows users who need some easy way to get Ceres up and running.It turns out that Microsoft and the GitHub community developed this very tool that allows one to set up ceres (and many other packages) on Windows and readily make them available in Visual Studio. You can build ceres and all the dependencies for x64, x86, release, debug etc.I used the tool to get ceres in my Visual Studio and obtained identical performances between Visual Studio 2017 MSVC 15 and Windows Linux Subsystem GCC.I just compiled everything out of the box without any customization and the all the tests were succesful n Windows 10. You can anyway customize whatever because vcpkg provides the CMakeLists.txt files for all the packages.I will keep following this discussion in case anyone finds it useful and of course if anyone want to share particular customizations to improve the usage of ceres under Windows.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
BUILD_DOCUMENTATION [Default: OFF]
: Use this to enable building the documentation, requires Sphinx and the sphinx-better-theme package available from the Python package index. In addition,make ceres_docs
can be used to build only the documentation.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/c009d77f-a0ee-4790-ad66-769f30462fc7%40googlegroups.com.
DEFINE_string(minimizer,
"trust_region",
"Minimizer type to use, choices are: line_search &
trust_region");
Solver::Options options_smart;
options_smart.trust_region_strategy_type =
ceres::LEVENBERG_MARQUARDT;
options_smart.max_num_iterations = 500;
options_smart.linear_solver_type = ceres::DENSE_QR;
options_smart.minimizer_progress_to_stdout = true;
Problem problem;
double a, b, c;
for (int i = 0; i < logf.size(); ++i) {
eqn_abc_t *eqn_abc_1 = new
eqn_abc_t(logf[i], Zr[i]);
problem.AddResidualBlock(new
AutoDiffCostFunction<eqn_abc_t, 1, 1, 1, 1>(eqn_abc_1), NULL, &a,
&b, &c);
eqn_C2_abc_t *eqn_C2_abc_1 = new
eqn_C2_abc_t(logf[i],ZC2[i]);
problem.AddResidualBlock(new
AutoDiffCostFunction<eqn_C2_abc_t, 1, 1, 1, 1>(eqn_C2_abc_1), NULL,
&a, &b, &c);
}
Solver::Summary summary;
Solve(options_smart, &problem,
&summary);