Open
Description
Hello,
First of all, thanks for maintaining this nice repo!
In the hopper_example.cc
, I have added this line to check derivatives.
solver->SetOption("derivative_test", "first-order")
solver->SetOption("derivative_test_tol", 1e-3);
And I got the results as shown in the attached screenshot.
where the constraints and variables are indexed as following:
Most of the derivatives are very very close, but there were some jacobian elements that have a relatively bigger error between the analytically computed value and the numerically computed value.
To which degree do you expect this comparison should be similar?
Should they be exactly the same or ~0.01 error is inevitable and should be accepted?
Best,
Junhyeok
Metadata
Metadata
Assignees
Labels
No labels