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

linear programming enhancements #15356

Open
jasongrout opened this issue Nov 5, 2013 · 1 comment
Open

linear programming enhancements #15356

jasongrout opened this issue Nov 5, 2013 · 1 comment

Comments

@jasongrout
Copy link
Member

I've been using the linear programming for class, and love it! Thanks! I noticed a few areas that would make it more user-friendly:

  • it would be great if p.get_variables() returned the values of all of the variables by default, instead of insisting that you ask for a specific variable
  • Maybe a p.show_solution() method could be added that would print out the optimal objective function value and the values of all variables, if the problem was solved.
  • it would be cool if we wrapped the sensitivity analysis of various solvers. Like http://en.wikibooks.org/wiki/GLPK/Solution_information#Sensitivity_analysis_report for GLPK.
  • the maximization=False parameter is a little awkward. Perhaps that parameter could be renamed to type="maximize" or type="minimize". Or perhaps we could also have a minimize=None parameter, and if maximize and minimize are both None, the default is maximize (for compatibility), but if either is set, that is the problem, and if both are set to True, then we throw an error.

CC: @nathanncohen @mforets

Component: linear programming

Issue created by migration from https://trac.sagemath.org/ticket/15356

@jasongrout jasongrout added this to the sage-6.1 milestone Nov 5, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@novoselt
Copy link
Member

comment:3

Note also that #14288 is positively reviewed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants