I have successfully installed the GUROBIPY and CVXPY. When I try to use the groubi solver in CVXPY, an error popped out.
result = prob.solve(solver=cvxpy.GUROBI)
The solver GUROBI is not installed.
Did I miss anything in the installation?
Here are the information about two packages.
Name: cvxpy Version: 1.1.5 Summary: A domain-specific language for modeling convex optimization problems in Python. Home-page: http://github.com/cvxgrp/cvxpy/ Author: Steven Diamond, Eric Chu, Stephen Boyd Author-email: firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com License: Apache License, Version 2.0 Location: /Users/yongkang/opt/anaconda3/lib/python3.7/site-packages Requires: scipy, scs, ecos, osqp, numpy Required-by: Note: you may need to restart the kernel to use updated packages.
Name: gurobipy Version: 9.0.3 Summary: The Gurobi optimization engines represent the next generation in high-performance optimization software. Home-page: http://www.gurobi.com/ Author: Gurobi Optimization, LLC Author-email: UNKNOWN License: This software is covered by the Gurobi End User License Agreement. By completing the Gurobi installation process and using the software, you are accepting the terms of this agreement. Location: /Users/yongkang/opt/anaconda3/lib/python3.7/site-packages Requires: Required-by: Note: you may need to restart the kernel to use updated packages.
Please sign in to leave a comment.