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

Delete AMPL's linearization of PL when SOS2 used #196

Open
glebbelov opened this issue Jan 26, 2023 · 0 comments
Open

Delete AMPL's linearization of PL when SOS2 used #196

glebbelov opened this issue Jan 26, 2023 · 0 comments
Assignees

Comments

@glebbelov
Copy link
Contributor

With the default pl_linearize=1, AMPL supplies both an SOS2 as well as its linearization. MP accepts SOS2 and either passes it to the solver, or provides its own linearization. Thus, AMPL's linearization should ideally be deleted (although it's simple and might be more numrically robust). However, MP's linearization assumes sum(lambda)=1 which is not the case in AMPL's encoding of PL expressions.

See also ampl/escrow/issues/93.

@glebbelov glebbelov self-assigned this Jan 26, 2023
glebbelov added a commit that referenced this issue Jan 26, 2023
Docu-style comments in problem[-builder].h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant