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

Dependency Needed #1

Closed
sanqdinh opened this issue Feb 28, 2023 · 4 comments
Closed

Dependency Needed #1

sanqdinh opened this issue Feb 28, 2023 · 4 comments

Comments

@sanqdinh
Copy link
Collaborator

sanqdinh commented Feb 28, 2023

Add cyipopt, JAX, matplotlib, glpk to the initial install

@sanqdinh sanqdinh assigned sanqdinh and unassigned sanqdinh Mar 1, 2023
@victoraalves
Copy link
Collaborator

victoraalves commented Mar 1, 2023

The following required dependencies were added in the pyproject.toml that was created using Poetry:

https://github.com/victoraalves/python_operability/blob/48b53b3460803f1eb6c3159e02fd5e553fcb52a8/pyproject.toml#L22-L33

Jax is an optional dependency, not being required to be installed. I am using the Windows-compatible binaries from here assuming that most people would be satisfied with the CPU-only version of jax.

The only downside of having automated installation is trying to put Cyipopt in pyproject.toml: Cyipopt is still not compatible. Therefore, this has to be, for now, a manual step: Installing our package then Cyipopt. The issue is explained in this issue.

@victoraalves
Copy link
Collaborator

GLPK might not be needed for now since I have frozen the solver option to be scipy's linprog:

https://github.com/victoraalves/python_operability/blob/48b53b3460803f1eb6c3159e02fd5e553fcb52a8/src/pyprop.py#L23-L37

@victoraalves
Copy link
Collaborator

victoraalves commented Mar 1, 2023

I will update the README.md file with instruction on how to install the package now. We do have an agnostic package, that should be compatible with pip and conda, thanks to Poetry.

@victoraalves
Copy link
Collaborator

Closing this for now since what could be solved, was solved.

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

2 participants