-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually assed HighsMipWorker.cpp and HighsMipWorker.h
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
/* */ | ||
/* This file is part of the HiGHS linear optimization suite */ | ||
/* */ | ||
/* Available as open-source under the MIT License */ | ||
/* */ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
#include "mip/HighsMipWorker.h" | ||
|
||
HighsMipWorker::HighsMipWorker(HighsMipSolver& mipsolver) | ||
: mipsolver_(mipsolver)//, | ||
// cutpool_(mipsolver.numCol(), mipsolver.options_mip_->mip_pool_age_limit, | ||
// mipsolver.options_mip_->mip_pool_soft_limit), | ||
// conflictPool_(5 * mipsolver.options_mip_->mip_pool_age_limit, | ||
// mipsolver.options_mip_->mip_pool_soft_limit), | ||
// cliquetable_(mipsolver.numCol()), | ||
// lprelaxation_(mipsolver) | ||
{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
/* */ | ||
/* This file is part of the HiGHS linear optimization suite */ | ||
/* */ | ||
/* Available Hias open-source under the MIT License */ | ||
/* */ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
#ifndef HIGHS_MIP_WORKER_H_ | ||
#define HIGHS_MIP_WORKER_H_ | ||
|
||
#include "mip/HighsCliqueTable.h" | ||
#include "mip/HighsConflictPool.h" | ||
#include "mip/HighsCutPool.h" | ||
//#include "mip/HighsDomain.h" | ||
#include "mip/HighsLpRelaxation.h" | ||
#include "mip/HighsMipSolver.h" | ||
#include "mip/HighsSearch.h" | ||
//#include "mip/HighsNodeQueue.h" | ||
//#include "mip/HighsPseudocost.h" | ||
//#include "mip/HighsSeparation.h" | ||
//#include "presolve/HighsSymmetry.h" | ||
//#include "util/HighsHash.h" | ||
|
||
class HighsMipWorker { | ||
const HighsMipSolver& mipsolver_; | ||
HighsLpRelaxation lprelaxation_; | ||
HighsCutPool cutpool_; | ||
HighsConflictPool conflictpool_; | ||
HighsCliqueTable cliquetable_; | ||
HighsSearch search_; | ||
}; | ||
|
||
HighsMipWorker(const HighsMipSolver& mipsolver); | ||
#endif |