109
110
111
112
113
114
115
|
/// Return the multiplier associated with a minorant.
fn multiplier(&self, min: Self::MinorantIndex) -> Real;
/// Move the center of the master problem to $\alpha \cdot d$.
fn move_center(&mut self, alpha: Real, d: &DVector);
}
|
>
>
>
>
>
>
>
>
>
>
>
>
|
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
/// Return the multiplier associated with a minorant.
fn multiplier(&self, min: Self::MinorantIndex) -> Real;
/// Move the center of the master problem to $\alpha \cdot d$.
fn move_center(&mut self, alpha: Real, d: &DVector);
}
/// A builder for creating a master problem solvers.
pub trait Builder {
/// The master problem to be build.
type MasterProblem: MasterProblem;
/// Type of errors.
type Err;
/// Create a new master problem.
fn build(&mut self) -> Result<Self::MasterProblem, Self::Err>;
}
|