Skip to content

Commit

Permalink
feat: added a reminder for how to activate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed Dec 3, 2024
1 parent e4da4e2 commit 87ab7bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3722,6 +3722,12 @@ The log consists of different parts. Let us go through them step by step.
>
> [![d-krupke - CP-SAT Log Analyzer](https://img.shields.io/badge/d--krupke-CP--SAT%20Log%20Analyzer-blue?style=for-the-badge&logo=github)](https://github.com/d-krupke/CP-SAT-Log-Analyzer)
As a reminder, you activate logging with

```python
solver.parameters.log_search_progress = True # Enable logging
```

### Initialization

The log starts with the version of CP-SAT, the parameters you set, and how many
Expand Down
6 changes: 6 additions & 0 deletions understanding_the_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ The log consists of different parts. Let us go through them step by step.
>
> [![d-krupke - CP-SAT Log Analyzer](https://img.shields.io/badge/d--krupke-CP--SAT%20Log%20Analyzer-blue?style=for-the-badge&logo=github)](https://github.com/d-krupke/CP-SAT-Log-Analyzer)
As a reminder, you activate logging with

```python
solver.parameters.log_search_progress = True # Enable logging
```

### Initialization

The log starts with the version of CP-SAT, the parameters you set, and how many
Expand Down

0 comments on commit 87ab7bb

Please sign in to comment.