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

Addons do not combine nicely with functional form constraints #258

Open
bvdmitri opened this issue Feb 3, 2023 · 0 comments
Open

Addons do not combine nicely with functional form constraints #258

bvdmitri opened this issue Feb 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bvdmitri
Copy link
Member

bvdmitri commented Feb 3, 2023

In the current implementation we cannot use both addons and functional form constraints in the same model.
The reason is because functional form constraints delay (1, 2) actual product of messages and execute an approximation method later.

The addons feature on the other hand assumes a product of messages to be available immediately.

Things are a bit even more complicated because sometimes the product is not delayed and actually executed in-place. If we have an analytical solution to a product of messages we execute it and check later if the result is compatible with the specified functional form constraint. This is done for performance and common sense reasons, but this behaviour can be controlled via FormConstraintCheckEach or FormConstraintCheckLast .

@bvdmitri bvdmitri added the bug Something isn't working label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👉 Assigned
Development

No branches or pull requests

2 participants