RsBundle  Diff

Differences From Artifact [ccc14fd0bf]:

  • File src/parallel/solver.rs — part of check-in [69cde14ba1] at 2019-07-24 19:21:09 on branch problem-update — parallel::solver: support problem update callback (user: fifr size: 27452)

To Artifact [310a4e8cd2]:

  • File src/parallel/solver.rs — part of check-in [ad5ec1d73d] at 2019-07-24 19:49:58 on branch problem-update — Cleanup types for `SubgradientExtender` callback (user: fifr size: 27462)

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> {