util
Utility functions and classes for the GDPopt solver.
Classes
Suppress the infeasible model warning message from solve(). |
|
Functions
|
Returns a logger when passed either a logger name or logger object. |
|
Copy variable values from one list to another. |
|
Fixes the discrete variable var to val, rounding to the nearest integer or not, depending on if rounding is specified in config and what the integer tolerance is. |
|
Returns the time since entering the main time_code context |
|
Checks to see if the algebraic model is feasible in its current state. |
|
Increases logger verbosity by lowering reporting level. |
|
|
|
Starts timer at entry, stores elapsed time at exit |