VarSelect.e#

property VarSelect.e#

Return the calculated numerical value of the underlying expression.

Used for debugging — for a successfully solved problem, e should equal v. For infeasible/unbounded problems, e lets you inspect the LHS at the returned (possibly invalid) point.

Two paths:

  • e_str available (codegen-wired or eval-fallback): defer to eval_e_str_numeric(), which strips any embedded relational operator so the result is always the LHS slack (matches what .v reports via CVXPY canonicalization). e_str is preserved on items even after codegen wires e_fn — so this path is the canonical numeric route for built-in routines.

  • e_fn-only (rare; user-supplied callable with no e_str): re-evaluate against NumericRoutineNS and extract the LHS depending on what the callable returns.