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

Add prototype for utils functions #880

Merged
merged 8 commits into from
Sep 6, 2024

Conversation

Joao-Dionisio
Copy link
Collaborator

When creating tests it can be annoying having to create the same models over and over again. In this utils.py file, we aggregate some models that might show up more than once.

Note: There is already an util.py file in the tests folder, might want to rename it.

@Joao-Dionisio Joao-Dionisio marked this pull request as ready for review August 15, 2024 09:46
@Opt-Mucca
Copy link
Collaborator

I will merge this. The models look good.
Things still to do in some other MR:

  • Call them in the actual tests to remove duplicate code
  • Merge util.py into utils.py

@Opt-Mucca Opt-Mucca merged commit 68d9f22 into scipopt:master Sep 6, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants