@@ -44,26 +44,32 @@ nmpc_lin_ss = NonLinMPC(
4444 linmodel, transcription= SingleShooting (),
4545 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
4646)
47+ JuMP. set_attribute (nmpc_lin_ss. optim, " tol" , 1e-7 )
4748nmpc_lin_ms = NonLinMPC (
4849 linmodel, transcription= MultipleShooting (),
4950 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
5051)
52+ JuMP. set_attribute (nmpc_lin_ms. optim, " tol" , 1e-7 )
5153nmpc_nonlin_ss = NonLinMPC (
5254 nonlinmodel, transcription= SingleShooting (),
5355 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
5456)
57+ JuMP. set_attribute (nmpc_nonlin_ss. optim, " tol" , 1e-7 )
5558nmpc_nonlin_ss_hess = NonLinMPC (
5659 nonlinmodel, transcription= SingleShooting (), hessian= true ,
5760 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
5861)
62+ JuMP. set_attribute (nmpc_nonlin_ss_hess. optim, " tol" , 1e-7 )
5963nmpc_nonlin_ms = NonLinMPC (
6064 nonlinmodel, transcription= MultipleShooting (),
6165 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
6266)
67+ JuMP. set_attribute (nmpc_nonlin_ms. optim, " tol" , 1e-7 )
6368nmpc_nonlin_ms_hess = NonLinMPC (
6469 nonlinmodel, transcription= MultipleShooting (), hessian= true ,
6570 Mwt= [1 , 1 ], Nwt= [0.1 , 0.1 ], Lwt= [0.1 , 0.1 ], Hp= 10
6671)
72+ JuMP. set_attribute (nmpc_nonlin_ms_hess. optim, " tol" , 1e-7 )
6773nmpc_nonlin_tc = NonLinMPC (
6874 nonlinmodel_c, transcription= TrapezoidalCollocation (),
6975 Mwt= [1 ], Nwt= [0.1 ], Lwt= [0.1 ], Hp= 10
0 commit comments