Opened 8 years ago

Closed 8 years ago

#4220 closed enhancement (fixed)

Improve logging of homotopy-based initialization (-ils)

Reported by: Francesco Casella Owned by: Lennart Ochel
Priority: high Milestone: 1.12.0
Component: Run-time Version:
Keywords: Cc:

Description

The current implementation of the homotopy-based initialization produces the following log, when turning on LOG_NLS:

LOG_INIT          | info    | homotopy process
...
LOG_INIT          | info    | | lambda = 0 done
...
LOG_INIT          | info    | | lambda = 0.1 done
...
...
LOG_INIT          | info    | | lambda = 1 done

IMHO this is a bit confusing, and also a bit awkward to search for in huge log files. I would propose to change the logging to get the following output

LOG_INIT          | info    | homotopy process
LOG_INIT          | info    | ---------------------------
LOG_INIT          | info    | | homotopy parameter lambda = 0
...
LOG_INIT          | info    | | homotopy parameter lambda = 0 done
LOG_INIT          | info    | ---------------------------
LOG_INIT          | info    | | homotopy parameter lambda = 0.1
...
LOG_INIT          | info    | | homotopy parameter lambda = 0.1 done
LOG_INIT          | info    | ---------------------------
...
...
LOG_INIT          | info    | | homotopy parameter lambda = 1 done

This would make the debug log much easier to search and interpret.

Change History (3)

comment:1 by Lennart Ochel, 8 years ago

Status: newaccepted

comment:2 by Lennart Ochel, 8 years ago

OMCompiler#1385 changes the dump to the following output:

LOG_INIT          | info    | homotopy process
|                 | |       | ---------------------------
LOG_INIT          | info    | homotopy parameter lambda = 0
...
LOG_INIT          | info    | homotopy parameter lambda = 0 done
|                 | |       | ---------------------------
LOG_INIT          | info    | homotopy parameter lambda = 0.0526316
...
LOG_INIT          | info    | homotopy parameter lambda = 0.0526316 done
|                 | |       | ---------------------------
Version 0, edited 8 years ago by Lennart Ochel (next)

comment:3 by Lennart Ochel, 8 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.