Skip to content

Be stricter about vtype values #92

@simonbowly

Description

@simonbowly

Here's one that's a bit more problematic:

x = gppd.add_vars(model, df, lb="lb", ub="ub", vtype="notmytype")

whether or not "notmytype" exists as a column, this creates semi-integer variables because gurobipy is very permissive and just takes the first letter of the string ...

Originally posted by @simonbowly in #91 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions