#20446: GLPKExactBackend - a variation on GLPKBackend that sets a solver
parameter
and signals errors on integer variables
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.2
Component: numerical | Resolution:
Keywords: lp | Merged in:
Authors: Matthias Koeppe | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mkoeppe/glpkexactbackend___a_variation_on_glpkbackend_that_sets_a_solver_parameter_and_signals_errors_on_integer_variables|
39a902f337bcdc4e53141e89f80bab289f6ba016
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
more commits missing? I am trying your branch on top of 7.2.beta4:
{{{
Error compiling Cython file:
------------------------------------------------------------
...
# Distributed under the terms of the GNU General Public License (GPL)
# The full text of the GPL is available at:
# http://www.gnu.org/licenses/
##############################################################################
cdef class GLPKExactBackend(GLPKBackend):
^
------------------------------------------------------------
sage/numerical/backends/glpk_exact_backend.pyx:17:5: 'GLPKBackend' is not
declared
Error compiling Cython file:
------------------------------------------------------------
...
...
ValueError: GLPK/exact only supports continuous variables
"""
if binary or integer:
raise ValueError("GLPK/exact only supports continuous
variables")
return GLPKBackend.add_variable(self, lower_bound, upper_bound,
binary, continuous,
^
------------------------------------------------------------
sage/numerical/backends/glpk_exact_backend.pyx:109:26: undeclared name not
builtin: GLPKBackend
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20446#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.