256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
|
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
|
-
+
|
/// The master process.
master_proc: &'a MasterProcess<P, M>,
}
impl<'a, P, M> UpdateState<P::Primal> for UpdateData<'a, P, M>
where
P: FirstOrderProblem,
P::Err: Into<Box<dyn std::error::Error + Sync + Send>>,
P::Err: Into<Box<dyn std::error::Error + Sync + Send>> + 'static,
M: MasterProblem<MinorantIndex = usize>,
{
fn was_descent(&self) -> bool {
self.step == Step::Descent
}
fn center(&self) -> Arc<DVector> {
|