RsBundle  Diff

Differences From Artifact [9cd2361021]:

  • File src/parallel/solver.rs — part of check-in [6efb9f568a] at 2019-07-22 09:39:47 on branch master-builder — parallel: allow arbitrary master problems (user: fifr size: 21034) [more...]

To Artifact [8c7a27898d]:

  • File src/parallel/solver.rs — part of check-in [b6db39804c] at 2019-07-22 09:48:01 on branch async — parallel: require `Primal` to be sendable (user: fifr size: 20972)

217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
    /// This is actually the time of the last call to `Solver::init`.
    start_time: Instant,
}

impl<P, T, W, M> Solver<P, T, W, M>
where
    P: FirstOrderProblem,
    P::Primal: Send + Sync + 'static,
    P::Err: std::error::Error + Send + Sync + 'static,
    T: Terminator<SolverData> + Default,
    W: Weighter<SolverData> + Default,
    M: master::Builder + Default,
    M::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>>,
    M::MasterProblem: MasterProblem<MinorantIndex = usize> + Send + 'static,
    <M::MasterProblem as MasterProblem>::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>> + Send,
{







<
|







217
218
219
220
221
222
223

224
225
226
227
228
229
230
231
    /// This is actually the time of the last call to `Solver::init`.
    start_time: Instant,
}

impl<P, T, W, M> Solver<P, T, W, M>
where
    P: FirstOrderProblem,

    P::Err: std::error::Error,
    T: Terminator<SolverData> + Default,
    W: Weighter<SolverData> + Default,
    M: master::Builder + Default,
    M::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>>,
    M::MasterProblem: MasterProblem<MinorantIndex = usize> + Send + 'static,
    <M::MasterProblem as MasterProblem>::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>> + Send,
{