coin-or / coin-or/CyLP

Using Cuts produce noisy output (model.logLevel=0) -> desired behaviour?

Open
#34 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JetBrains MPS
Stars
192
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Hi,

i just implemented a prototype interface to Cbc for [cvxpy](https://github.com/cvxgrp/cvxpy/pull/260) using cylp (great project).

When using this to solve some naive tsp-model without using any cuts, loglevel=0 works and there is no output.

Activating `LiftProjectCuts` on the other hand results in the following (shortened) output:

```
Clp3003W Analysis indicates model infeasible or unbounded
Clp6003E Matrix has 144 large values, first at column 20, row 110 is -1.7976931e+308
Clp0004I Stopped due to errors - objective value 0
Clp0032I Errors objective 0 - 0 iterations time 0.002
Clp6003E Matrix has 144 large values, first at column 20, row 110 is -1.7976931e+308
Clp3003W Analysis indicates model infeasible or unbounded
Clp6003E Matrix has 144 large values, first at column 20, row 110 is -1.7976931e+308
Clp0004I Stopped due to errors - objective value 0
Clp0032I Errors objective 0 - 0 iterations time 0.002
```

Additional example with CliqueCuts:

```
rcl Found 0 new violated cliques with the row-clique method
rcl The largest admissible number was 0 (threshold 12)
rcl all row cliques have been enumerated

scl Found 0 new violated cliques with the star-clique method
scl The largest star size was 4 (threshold 12)
scl Enumeration 6 times, found 0 maxl cliques
scl Greedy 0 times, found 0 maxl cliques
scl Skipped a star b/c of small solution value 0 times
scl all cliques have been enumerated
```
- **(1)** Is there any way to switch off this output too?
- **(2)** Side-question: are LiftProjectCuts working correctly when the output looks like that? I'm asking because the result is correct.

Thanks
Sascha

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.