Changeset 2208


Ignore:
Timestamp:
Feb 22, 2019 4:05:44 PM (20 months ago)
Author:
stefan
Message:

allow also to abandon when columns are contradicting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Osi/src/OsiCommonTest/OsiSolverInterfaceTest.cpp

    r2203 r2208  
    33643364        si->initialSolve();
    33653365
    3366         OSIUNITTEST_ASSERT_ERROR(si->isProvenPrimalInfeasible(), {}, solverName, "testAddToEmptySystem: isProvenPrimalInfeasible() after adding contradicting columns");
     3366        OSIUNITTEST_ASSERT_ERROR(si->isAbandoned() || si->isProvenPrimalInfeasible(), {}, solverName, "testAddToEmptySystem: not infeasible or abandoned after adding contradicting columns");
    33673367      }
    33683368      catch( CoinError& e )
     
    34063406          // solve
    34073407          si->initialSolve();
    3408           OSIUNITTEST_ASSERT_ERROR(si->isProvenPrimalInfeasible(), {}, solverName, "testAddToEmptySystem: isProvenPrimalInfeasible() after adding rows with contradicting sides");
     3408          OSIUNITTEST_ASSERT_ERROR(si->isAbandoned() || si->isProvenPrimalInfeasible(), {}, solverName, "testAddToEmptySystem: infeasible or abandoned after adding rows with contradicting sides");
    34093409        }
    34103410      }
Note: See TracChangeset for help on using the changeset viewer.