gtopt::ResolvedCol struct

A resolved LP column together with its physical-to-LP scale factor.

The scale field satisfies: physical_value = LP_value * scale.

When assembling a user constraint coeff * physical_var [op] RHS the LP-level coefficient is coeff * scale so that the constraint remains dimensionally correct regardless of internal LP scaling choices (e.g. reservoir volume in Gm3, theta in milli-radians, ...).

Public variables

ColIndex col
double scale