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 pulp_based_impl.py and pulp_impl_test.py #101

Closed
wants to merge 1 commit into from

Conversation

KeShih
Copy link
Contributor

@KeShih KeShih commented Jul 13, 2024

What?

I have implemented the fba, fva, inner_ball, and remove_redundant_facets functions using PuLP (the default solver is HiGHS) and have included unit tests to ensure that their behavior remains consistent with the previous implementation.

Python packages pulp and highspy is required.

Unit Test

image

Copy link
Contributor

@vfisikop vfisikop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I have basically only one comment.

import math
import sys

solver_name = "HiGHS"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the solver_name should be a function parameter in fba(), fva() etc with default value = "HiGHS"
Then in the unit tests we should call all those functions with default parameter and with "gurobi" (and maybe test more in the future?).

@TolisChal TolisChal closed this Aug 15, 2024
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