Skip to content

Commit 21b14be

Browse files
committed
enable logtoconsole partitiong ilps
1 parent 1327e6c commit 21b14be

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

include/osp/partitioning/partitioners/partitioning_ILP_base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class HypergraphPartitioningILPBase {
5555

5656
template <typename HypergraphT>
5757
void HypergraphPartitioningILPBase<HypergraphT>::SolveIlp(Model &model) {
58-
model.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
58+
// model.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
5959

6060
model.SetDblParam(COPT_DBLPARAM_TIMELIMIT, timeLimitSeconds_);
6161
model.SetIntParam(COPT_INTPARAM_THREADS, 128);

include/osp/pebbling/pebblers/pebblingILP/MultiProcessorPebbling.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ class MultiProcessorPebbling : public Scheduler<GraphT> {
239239

240240
template <typename GraphT>
241241
void MultiProcessorPebbling<GraphT>::SolveIlp() {
242-
if (!verbose_) {
243-
model_.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
244-
}
242+
// if (!verbose_) {
243+
// model_.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
244+
// }
245245

246246
model_.SetDblParam(COPT_DBLPARAM_TIMELIMIT, timeLimitSeconds_);
247247
model_.SetIntParam(COPT_INTPARAM_THREADS, 128);

include/osp/pebbling/pebblers/pebblingILP/partialILP/AcyclicPartitioningILP.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class AcyclicPartitioningILP {
156156

157157
template <typename GraphT>
158158
void AcyclicPartitioningILP<GraphT>::SolveIlp() {
159-
model_.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
159+
// model_.SetIntParam(COPT_INTPARAM_LOGTOCONSOLE, 0);
160160

161161
model_.SetDblParam(COPT_DBLPARAM_TIMELIMIT, timeLimitSeconds_);
162162
model_.SetIntParam(COPT_INTPARAM_THREADS, 128);

0 commit comments

Comments
 (0)