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

Name presolve #209

Open
2 of 6 tasks
4er4er4er opened this issue May 15, 2023 · 0 comments
Open
2 of 6 tasks

Name presolve #209

4er4er4er opened this issue May 15, 2023 · 0 comments
Assignees

Comments

@4er4er4er
Copy link
Contributor

4er4er4er commented May 15, 2023

MP should presolve and submit names to the solver / Reformulation Explorer when AMPL provides them.

Original title: Gurobi "writeprob" doesn't recognize "gurobi_auxfiles" setting.

With the ASL interface, it is possible to request the actual AMPL names in .mps and .lp files, by specifying

option gurobi_auxfiles rc;
option gurobi_options 'writeprob=export';

However, with the MP interface using these same options, only generic names (like R1 and C1) appear in the files. (This might not be specifically a Gurobi problem, but I haven't checked other solvers.)

  • Var/con/obj name presolve added on 24 July 2023
  • Redefinition value linking for unary encoding added
  • Generic names are IMPL, IMPL_1_, IMPL_2_, ... for an original constraint/objective IMPL redefined into auxiliary items. This could be elaborated
  • option writegraph should use names. This requires names presolve to be done during redefinitions, as the graph export goes
  • Names for AMPL defined variables and items derived from them. Does AMPL provide these names?
  • MP2NL Expression interface #237 has issues with reusing original names in MP subsolvers
glebbelov added a commit that referenced this issue Jun 15, 2023
glebbelov referenced this issue Jun 15, 2023
Whether to read or provide generic names

ModelManager: use NameProvider
glebbelov added a commit that referenced this issue Jun 15, 2023
glebbelov added a commit that referenced this issue Jul 20, 2023
glebbelov added a commit that referenced this issue Jul 21, 2023
glebbelov added a commit that referenced this issue Jul 24, 2023
glebbelov added a commit that referenced this issue Jul 24, 2023
Bump dates
@glebbelov glebbelov changed the title Gurobi "writeprob" doesn't recognize "gurobi_auxfiles" setting Name presolve Jan 7, 2025
glebbelov added a commit that referenced this issue Jan 7, 2025
Technically should not be needed - but MP2NL's subsolvers sometimes don't use original names TODO
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

3 participants