NLP working for 5 phases if there's a good initial guess

This commit is contained in:
Connor
2021-10-10 21:04:02 -06:00
parent b29afbce04
commit 44759ff85f
2 changed files with 27 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ function solve_mission( guess::Mission_Guess,
"acceptable_constr_viol_tol" => 100tol,
"max_iter" => 10_000,
"max_cpu_time" => 300.,
"print_level" => 5)
"print_level" => 0)
options = Options(solver=IPOPT(ipopt_options), derivatives=ForwardFD())
x, _, info = minimize(optimizer!, x0, num_constraints, lower_x, upper_x, g_low, g_high, options)