RsBundle  Diff

Differences From Artifact [a1f976180f]:

  • File src/solver/sync.rs — part of check-in [be42fa28cd] at 2020-07-18 12:24:34 on branch minorant-primal — Add `primal` field to `Minorant` (user: fifr size: 31706)

To Artifact [57266dc0f8]:

  • File src/solver/sync.rs — part of check-in [e3adf3963b] at 2020-07-18 14:24:05 on branch minorant-primal — Remove `Hash` bound on `MinorantIndex` (user: fifr size: 31622) [more...]

448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
448
449
450
451
452
453
454

455
456
457
458
459
460
461







-







impl<P, T, W, M> Solver<P, T, W, M>
where
    P: FirstOrderProblem,
    P::Err: Send + 'static,
    T: Terminator<SolverData> + Default,
    W: Weighter<SolverData> + Default,
    M: MasterBuilder<P::Primal>,
    <M::MasterProblem as MasterProblem<P::Primal>>::MinorantIndex: std::hash::Hash,
{
    /// Create a new parallel bundle solver.
    pub fn new(problem: P) -> Self
    where
        M: Default,
    {
        Self::with_master(problem, M::default())