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

print subproblems and/or master #757

Closed
giommazz opened this issue Dec 20, 2022 · 2 comments
Closed

print subproblems and/or master #757

giommazz opened this issue Dec 20, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@giommazz
Copy link

Would it be possible to have a function to to print pricing subproblems and/or the master?
It would be useful when debugging

@giommazz giommazz added the enhancement New feature or request label Dec 20, 2022
@guimarqu
Copy link
Contributor

@artalvpes Moving the content of the book branch in the column generation printer will close this issue.

@rrsadykov
Copy link
Collaborator

When printing Reformulation with :user_only flag, the master and pricing subproblem are printed with only user defined variables and constraints (artificial variables and columns are not shown):

print(IOContext(stdout, :user_only => true), reform)

Later, another flag may be defined to show master columns (together with corresponding subproblem soutions) instead of representative variables.

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

No branches or pull requests

4 participants