444
445
446
447
448
449
450
451
452
453
454
455
456
457
|
self.threadpool = threadpool;
}
/// Return the current problem associated with the solver.
pub fn problem(&self) -> &P {
&self.problem
}
/// Initialize the solver.
///
/// This will reset the internal data structures so that a new fresh
/// solution process can be started.
///
/// It will also setup all worker processes.
|
>
>
>
>
>
|
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
|
self.threadpool = threadpool;
}
/// Return the current problem associated with the solver.
pub fn problem(&self) -> &P {
&self.problem
}
/// Return the current problem associated with the solver.
pub fn into_problem(self) -> P {
self.problem
}
/// Initialize the solver.
///
/// This will reset the internal data structures so that a new fresh
/// solution process can be started.
///
/// It will also setup all worker processes.
|