-
Notifications
You must be signed in to change notification settings - Fork 1
Add tests #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests #139
Conversation
Update README with latest ABOUT.md, INSTALL.md, CONTRIBUTING.md and badges
…ocumentation-of-the-problems Update descriptions of the problems
|
@jbcaillau I have updated the unit tests. Now all the problems "_s" are tested and compared to JuMP. But, I haven't checked yet that all the tests pass except for: :bioreactor,
:cart_pendulum,
:dielectrophoretic_particle,
:moonlander, |
Testing init@jbcaillau @PierreMartinon For ┌─ glider (init)
│
├─ Iterations
│ → JP: 0 OC: 0 OS: 0
├─ Variables
│ → JP: 2506 OC: 2506 PASS
│ → JP: 2506 OS: 2506 PASS
├─ Constraints
│ → JP: 2007 OC: 2007 PASS
│ → JP: 2007 OS: 2007 PASS
├─ Final time
│ → JP: 1.000e+00 OC: 1.000e+00 r_err=0.000e+00 a_err=0.000e+00 bound=1.000e-06 PASS
│ → JP: 1.000e+00 OS: 7.000e-01 r_err=3.529e-01 a_err=3.000e-01 bound=1.000e-06 FAIL
├─ Grid length
│ → JP: 501 OC: 501 PASS
│ → JP: 501 OS: 501 PASS
├─ Objective
│ → JP: -1.323e+01 OC: -1.323e+01 r_err=-0.000e+00 a_err=0.000e+00 bound=1.000e-06 PASS
│ → JP: -1.323e+01 OS: -1.323e+01 r_err=-0.000e+00 a_err=0.000e+00 bound=1.000e-06 PASS
└─Note that I have set Note It works with |
|
I have printed the time grid and the variable in the build solution: Clearly, the time grid is not reconstructed well. |
Need to add the comparison between the exa problems and the others in
test_init,test_solutionandtest_quick.