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

Implement conversion to MLinExpr in dataframe accessors #52

Closed
simonbowly opened this issue Dec 5, 2022 · 1 comment
Closed

Implement conversion to MLinExpr in dataframe accessors #52

simonbowly opened this issue Dec 5, 2022 · 1 comment

Comments

@simonbowly
Copy link
Member

To aid integration with gurobi-machinelearning, it would be useful to be able to extract 2D MLinExpr from a pandas dataframe containing a mix of modelling objects and data.

df.values  # pandas built-in: return a numpy array containing the data
df.gppd.to_expr()  # return an MLinExpr
@simonbowly
Copy link
Member Author

Decided this isn't needed, the conversion is handled directly in gurobi-ml and likely isn't useful elsewhere.

@simonbowly simonbowly closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2023
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