Skip to content

AMPL vs Java interface #486

Answered by svigerske
fueralles asked this question in Q&A
Jun 7, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

It would be difficult to achieve exactly the same results. Even if you manage to get variables and constraints into the same order as with AMPL, there could still be small numerical differences in function, gradient, etc evaluations due to rounding in floating-pointing arithmetics.

Increasing the print_level for both AMPL and Java versions and looking at the diff may help to see where things start to go different.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@svigerske
Comment options

@fueralles
Comment options

@fueralles
Comment options

@svigerske
Comment options

@fueralles
Comment options

Answer selected by svigerske
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants