452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
|
T,
SolverError<<P as FirstOrderProblem>::Err, <<M as master::Builder>::MasterProblem as MasterProblem>::Err>,
>;
impl<P, T, W, M> Solver<P, T, W, M>
where
P: FirstOrderProblem,
P::Err: Into<Box<std::error::Error + Send + Sync + 'static>>,
T: for<'a> Terminator<BundleState<'a>> + Default,
W: for<'a> Weighter<BundleState<'a>> + Default,
M: master::Builder + Default,
M::Err: Into<Box<std::error::Error + Send + Sync + 'static>>,
M::MasterProblem: MasterProblem<MinorantIndex = usize>,
<M::MasterProblem as master::MasterProblem>::Err: Into<Box<std::error::Error + Send + Sync + 'static>>,
{
/**
* Create a new solver for the given problem.
*
* Note that the solver owns the problem, so you cannot use the
* same problem description elsewhere as long as it is assigned to
* the solver. However, it is possible to get a reference to the
|
|
<
<
|
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
|
T,
SolverError<<P as FirstOrderProblem>::Err, <<M as master::Builder>::MasterProblem as MasterProblem>::Err>,
>;
impl<P, T, W, M> Solver<P, T, W, M>
where
P: FirstOrderProblem,
P::Err: Into<Box<dyn std::error::Error + Sync + Send>>,
T: for<'a> Terminator<BundleState<'a>> + Default,
W: for<'a> Weighter<BundleState<'a>> + Default,
M: master::Builder + Default,
M::MasterProblem: MasterProblem<MinorantIndex = usize>,
{
/**
* Create a new solver for the given problem.
*
* Note that the solver owns the problem, so you cannot use the
* same problem description elsewhere as long as it is assigned to
* the solver. However, it is possible to get a reference to the
|