Closed hongkai-dai closed 1 year ago
Fixed in #23 and merged to main.
Unrelated, but I don't understand why your solver version number is reporting as v0.0.0 in the first line of the example output. I can't seem to reproduce it either.
Unrelated, but I don't understand why your solver version number is reporting as v0.0.0 in the first line of the example output. I can't seem to reproduce it either.
My guess is that Hongkai was using my initial prototype for integrating Clarabel into Drake, which had various build system bugs.
With the version of the integration that merged (#20246), I'm seeing the correct output:
...
-------------------------------------------------------------
Clarabel.rs v0.6.0 - Clever Acronym
...
Thanks Jeremy! Yes I was using your initial prototype.
At the termination, should I expect that solution.obj_val is the objective value? I ran https://github.com/oxfordcontrol/Clarabel.cpp/blob/main/examples/cpp/example_lp.cpp and also print out solution.obj_val, the log shows that the objective value is -2, but
std::cout << "obj_val: " << solution.obj_val << "\n"
prints 5e-5. Here is my print out