Changeset 3041


Ignore:
Timestamp:
May 12, 2020 3:59:03 PM (2 months ago)
Author:
unxusr
Message:

Make it possible to call clique strengthening from C interface

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Cbc_C_Interface.cpp

    r3036 r3041  
    3333#include "CglCutGenerator.hpp"
    3434#include "CglStored.hpp"
     35#include "CglCliqueStrengthening.hpp"
    3536#include "CglGomory.hpp"
    3637#include "CglZeroHalf.hpp"
     
    18581859}
    18591860
     1861
     1862void Cbc_strengthenPacking(Cbc_Model *model) {
     1863  OsiSolverInterface *solver = model->solver_;
     1864  CglCliqueStrengthening clqStr;
     1865  clqStr.strengthenCliques(*solver);
     1866}
     1867
    18601868int CBC_LINKAGE
    18611869Cbc_solve(Cbc_Model *model)
  • trunk/src/Cbc_C_Interface.h

    r3036 r3041  
    10291029
    10301030
     1031/** @brief This is a pre-processing that tries to
     1032 * strengthen set packing constraints. Dominated constraints are
     1033 * removed. */
     1034CBCSOLVERLIB_EXPORT void CBC_LINKAGE
     1035Cbc_strengthenPacking(Cbc_Model *model);
     1036
    10311037/*@}*/
    10321038
Note: See TracChangeset for help on using the changeset viewer.