Skip to content
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

Precision issues #98

Open
DillonJ opened this issue Feb 28, 2023 · 0 comments
Open

Precision issues #98

DillonJ opened this issue Feb 28, 2023 · 0 comments

Comments

@DillonJ
Copy link
Contributor

DillonJ commented Feb 28, 2023

There seem to be precision with SpineInterface. For example, we have this:

image

Yet we get this:

Window 2: 2030-02-28T00:00~>2030-03-01T00:00
CPXPARAM_MIP_Tolerances_MIPGap 0.050000000000000003

We have had this issue cause infeasibilities, with small values etc. and when zeroes aren't zeroes but very small floats.

It would be good to understand where this imprecision is coming from?

I'm thinking perhaps we should be able to specify a maximum precision in our call to using_spinedb(). This would have many benefits for the underlying optimisation problem, where small coefficients, for example, can be replaced with zeroes.

Any thoughts @manuelma ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant