Skip to content

[RFC] BinPacking: what about forced fixed sizes? #4

@dourouc05

Description

@dourouc05

CPLEX does not allow bin-packing constraint with variable sizes. However, the current object is allowing them to be variables. The problem of the current approach is that the constraint is said to be supported through the MOI API, but add_constraint in CPLEX throws an assertion.

What would be best: keep it this way (with a nice error message to the user instead of an assertion) or create a new MOI set with fixed bin sizes (which would allow bridges to reformulate the constraint if need be)? I would prefer the second one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions