coin-or / Dip

DIP is a decomposition-based solver framework for mixed integer linear programs.
https://github.com/coin-or/Dip/wiki
Eclipse Public License 1.0
17 stars 7 forks source link

Running --doCut 1 gives exception. #140

Open mgalati13 opened 1 year ago

mgalati13 commented 1 year ago

dev-dsk-magalati-1e-4cc7dec7 % ./dist/bin/dip --Instance Data/Sample/atm_5_10_1.mps --doCut 1

========================================================

Welcome to the DIP Decomposition Framework Copyright 2002-2019 Lehigh University and others All Rights Reserved Distributed under the Eclipse Public License 1.0 Version: 0.95.0 Build Date: Nov 30 2022

======================================================== COIN Exception [ doCut or doPriceCut must be set ] at /home/magalati/workplace/COIN/coinbrew/Dip/Dip/src/DecompMain.cpp:L365 in main::main

tkralphs commented 1 year ago

This is because you need to specify --doPriceCut 0 whenever you specify --doCut 1. This is a bit silly and there was some logic to it originally, but we could easily enough make doCut imply !doPriceCut.