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

Accessing variable names after a solution has been created #51

Open
tomaka opened this issue Apr 30, 2024 · 0 comments
Open

Accessing variable names after a solution has been created #51

tomaka opened this issue Apr 30, 2024 · 0 comments

Comments

@tomaka
Copy link

tomaka commented Apr 30, 2024

Hi 👋

I have noticed that the ProblemVariables struct has a display function that is very convenient in order to print for example the list of constraints.

However, once you call optimise(), minimise(), or maximise(), it doesn't seem possible to access the variable names anymore. Is that correct, or did I just not find a way?

Being able to access the variable names would be very useful for debugging purposes in order to print the solution that has been found for every variable.

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

1 participant