Skip to content

CVXOPTBackend: Set initial problem_name #20332

@mkoeppe

Description

@mkoeppe

CVXOPTBackend forgets to set its initial problem_name, and as a result the MixedIntegerLinearProgram cannot print itself.

sage: p = MixedIntegerLinearProgram(solver="CVXOPT")
sage: p
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
...
TypeError: cannot concatenate 'str' and 'NoneType' objects
<repr(<sage.numerical.mip.MixedIntegerLinearProgram at 0x190970a70>) failed: TypeError: cannot concatenate 'str' and 'NoneType' objects>

CC: @dimpase @ingolfured @videlec @jdemeyer

Component: numerical

Author: Matthias Koeppe

Branch/Commit: f1af4ec

Reviewer: Dima Pasechnik

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions