Skip to content

Unit test fails with some compile options (bad CglFlowCover cut) - found after looking at Cbc entry in Wikipedia!!!!!!!!!!!! #769

@jjhforrest

Description

@jjhforrest

I will discuss my reference to Wikipedia in another issue - but for now ..

I was trying many different compile options for Cbc and for one of them a standard unit test failed with a bad result for miplib/mod011.
I tracked it down to a bad cut generated by CglFlowCover. I am not an expert in flow cover cuts, but when lifting a cut the code looks at the variable upper bounds of continuous variables. So if z is a variable upper bound on continuous variable x then the coefficient for x in the cut may be replaced by some multiple of z. If another continuous variable y also has z as its variable upper bound then there is some extra computation. It is this that causes a bad cut to be generated.

This duplication rarely happens. It would be easy to skip generating the cut - but can some expert in the flow cover cut code look at CglFlowCover and see if there might be an error.

I was using master. For a very bold person I attach the file used to build Cbc. With my normal options the error does not occur.

convanilla.txt

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