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

Get access to symbol_map of GAMS solver #768

Open
Johanna1234 opened this issue Dec 3, 2018 · 2 comments
Open

Get access to symbol_map of GAMS solver #768

Johanna1234 opened this issue Dec 3, 2018 · 2 comments

Comments

@Johanna1234
Copy link

Is there a reason why the symbol_map is deleted in model.solutions for solver GAMS?
For other solvers it is not deleted (e.g. CBC).
In some cases it can be helpful to keep the symbol map.
For example in case of using CPLEX via GAMS the symbol map can be used to identify infeasibilities.
The CPLEX solver log returns only the symbols of the infeasible constraints.

@qtothec
Copy link
Contributor

qtothec commented Dec 3, 2018

@gseastream? Another approach may be use the symbolic_solver_labels option. I can't remember if we have already resolved some of the issues related to that (invalid symbol name characters, symbol length, etc.).

@gseastream
Copy link
Contributor

There is no particular reason. When I wrote solver interface stuff I copied a lot from the cplex solver interface and that is what other solvers did.

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

4 participants