RParam.formulation_source#
- property RParam.formulation_source#
Where the live CVXPY object for this item came from. Useful for debugging "did my customization actually take effect?".
Returns one of:
'pending'— item hasn't been evaluated yet (no liveoptz).'codegen'—e_fnwas wired from~/.ams/pycode/<routine>.py(the fast AOT path); only happens for items that exactly match the pristine source.'manual'— author/user code assigneditem.e_fn = fndirectly, bypassing both codegen and the eval-fallback helper.'eval'— eval-fallback path:e_stris resolved symbol-by-symbol viaams.opt._runtime_eval.eval_e_str()andeval-ed at parse/evaluate time. This is what runs for items the user customized viae_str = '...'oraddConstrs(...). (Renamed from'sub_map'in v1.2.3; the legacy regex+eval pipeline that name referenced was retired in PR #246.)