PendingStateLink struct
#include <gtopt/state_variable.hpp>
Deferred state-variable link record.
Recorded by phase N+1's add_to_lp so that the eventual add_dependent_variable call on phase N's matching StateVariable can be performed in a sequential tightening pass after all phases of a scene have been built — possibly in parallel.
The structured prev_key uniquely identifies the producing StateVariable in the global (scene, phase)-partitioned registry, so the tightening pass needs no reference to phase N's SystemLP to resolve the link. (here_key, here_col) names the dependent column to register on the resolved StateVariable.
prev_key.col_name and prev_key.class_name are std::string_views — they must point to storage that outlives this record. In practice they always point at the static constexpr literals declared by the element classes (e.g. StorageLP::EfinName, the class name constant) so the lifetime requirement is satisfied trivially.