-
-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #20415: Polyhedron.to_linear_program should select solver by bas…
…e_ring This is a follow-up on #20301. #20296 provides a way to select a suitable solver by its `base_ring`. `Polyhedron.to_linear_program` should do that. Note, for exact polyhedra, this will change the behavior of `to_linear_program` from inexact computation to exact computation, which will be much slower (but note, speed is irrelevant for this method, because when the `Polyhedron` was set up, already the double description has been computed eagerly.) To restore the old behavior, the user would need to pass an explicit `base_ring=RDF` or `solver=...` argument to `to_linear_program`. (The patch adds many examples that illustrate this.) URL: http://trac.sagemath.org/20415 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Dima Pasechnik
- Loading branch information
Showing
3 changed files
with
81 additions
and
18 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