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

Suggestion: enum for some integer options #1910

Open
andrea-cassioli-maersk opened this issue Sep 4, 2024 · 2 comments
Open

Suggestion: enum for some integer options #1910

andrea-cassioli-maersk opened this issue Sep 4, 2024 · 2 comments
Assignees

Comments

@andrea-cassioli-maersk
Copy link

Hi Team,
I have a suggestion: will you consider providing enums for some of the integer options?

For instance setting the simplex_strategy option could be more readable if I can use an enum instead of say 4.

@jajhall
Copy link
Sponsor Member

jajhall commented Sep 4, 2024

Clearly we could make them enums - although enum classes would have downsides - but I'm wary of encouraging people to experiment. Serial dual simplex is much the most robust, and its performance is typically at least as good as parallel simplex these days (and generally rather better than primal simplex).

Maybe I'll add them when I get around to making the primal simplex solver more robust and efficient. I've got a use case that may mean I work in this in the winter of 2024-25.

@jajhall jajhall self-assigned this Sep 7, 2024
@andrea-cassioli-maersk
Copy link
Author

Thanks @jajhall

My suggestion is more on a general note rather than specific for the simplex_strategy, that was just an example.

But it is good to hear there might be some focus on the primal simplex anyway! We currently use it in a classic column generation and seems to be the best option in our case.

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

2 participants