pub struct Baron {
pub exec: Option<String>,
}Expand description
BARON backend. Writes an oximo Model to a temporary .bar file, invokes
the baron executable, and parses the result.
Fields§
§exec: Option<String>Optional override for the BARON executable path. When None, "baron"
is looked up from PATH. Overridden per-call by
BaronOptions::baron_path.
Implementations§
Trait Implementations§
Source§impl InfeasibilityDiagnosis for Baron
impl InfeasibilityDiagnosis for Baron
Source§fn compute_iis(
&mut self,
model: &Model,
opts: &BaronOptions,
) -> Result<Iis, SolverError>
fn compute_iis( &mut self, model: &Model, opts: &BaronOptions, ) -> Result<Iis, SolverError>
Compute an irreducible infeasible subsystem for
model. Read moreSource§impl Solver for Baron
impl Solver for Baron
Source§type Options = BaronOptions
type Options = BaronOptions
Backend-specific options struct. Use
() for solvers without any
tunables.fn name(&self) -> &str
fn supports(&self, kind: ModelKind) -> bool
Source§fn solve(
&mut self,
model: &Model,
opts: &BaronOptions,
) -> Result<SolverResult, SolverError>
fn solve( &mut self, model: &Model, opts: &BaronOptions, ) -> Result<SolverResult, SolverError>
Solves the given
Model using this solver. Read moreAuto Trait Implementations§
impl Freeze for Baron
impl RefUnwindSafe for Baron
impl Send for Baron
impl Sync for Baron
impl Unpin for Baron
impl UnsafeUnpin for Baron
impl UnwindSafe for Baron
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more