gtopt::SolveEffort struct

Per-solve effort reported by a backend: wall seconds plus deterministic ticks (a load-independent work unit). Conventions for backends lacking one or both (see SolverBackend::last_solve_effort):

  • no native ticks → set ticks == seconds (repeat the time);
  • no native time → the plugin measures wall time itself. Any backend returning the default {0,0} is handled generically by the LinearInterface solve layer, which substitutes its own wall measurement.

Public variables

long iterations
double seconds
double ticks

Variable documentation

long gtopt::SolveEffort::iterations

Simplex (or barrier) iteration count of the solve; 0 when the backend does not report one.