Skip to main content

rollout_objective

Function rollout_objective 

Source
pub fn rollout_objective(
    rollout: &AdjointRollout<'_>,
    objective: &FinalStateObjective<'_>,
) -> f64
Expand description

Run the nominal rollout and return the objective value only (the FD oracle for gates, and a cheap primal probe for callers).