Skip to content

sage.graphs, sage.numerical.mip: Remove unnecessary uses of set_binary, set_integer #33504

@mkoeppe

Description

@mkoeppe

We can avoid these methods that mutate variable type by setting up the correct variable type in the first place.

CC: @dcoudert

Component: linear programming

Author: Matthias Koeppe

Branch/Commit: b82a512

Reviewer: Travis Scrimshaw, David Coudert

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions