-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For discussion that concluded with this commit, #98 #60 Gurobi will not automatically become the default solver due to its restrictive license. However, users can manually select it by import polytope as pc pc.solvers.default_solver = 'gurobi' Then, `polytope` can be used without modification. If Gurobi returns INF_OR_UNBD, the optimization is run again with DualReductions=0 as recommended at https://www.gurobi.com/documentation/current/refman/optimization_status_codes.html and a notification about this is included under the `"message"` key in the result returned by `polytope.solvers.lpsolve`. Tests that require Gurobi are skipped and a warning is shown if gurobipy is not installed. Co-authored-by: Richard Oberdieck <[email protected]>
- Loading branch information
1 parent
8c39e6a
commit 83026e5
Showing
5 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[pytest] | ||
addopts = --strict-markers -rs |