Commit 150159ff authored by Christoph Richter's avatar Christoph Richter
Browse files

Added solver options for TrajectoryControllerTest

parent e7528803
......@@ -26,6 +26,9 @@ public class TrajectoryControllerTest extends BasicGenerationTest {
generator.setGenerationTargetPath("./target/generated-sources-cpp/TrajectoryControllerMPC/src/");
generator.setPreferedSolver(Solver.Ipopt);
generator.getSolverOptions().put("String derivative_test", "none");
generator.getSolverOptions().put("Integer print_level", "0");
generator.getSolverOptions().put("Numeric tol", "0.01");
generator.getSolverOptions().put("Integer max_iter", "50");
List<File> files = generator.generate(componentInstanceSymbol, symtab);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment