Skip to content

Commit

Permalink
[solvers] Start nonlinear_program_test closer to solution (#19376)
Browse files Browse the repository at this point in the history
Required for macOS Ventura arm64 support.
  • Loading branch information
svenevs authored May 12, 2023
1 parent 0078915 commit b081fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solvers/test/nonlinear_program_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ GTEST_TEST(testNonlinearProgram, HeatExchangerDesignProblem) {
// gradient.
HeatExchangerDesignProblem prob;
Eigen::VectorXd x_init(8);
x_init << 5000, 5000, 5000, 200, 350, 150, 225, 425;
x_init << 4999.4, 5000, 5000, 200, 350, 150, 225, 425;
MathematicalProgramResult result;
// The optimal solution given in Hock's reference has low precision, and the
// magnitude of the solution is large, so we choose a large tolerance 0.2.
Expand Down

0 comments on commit b081fce

Please sign in to comment.