pub enum GpuSolverProductionPortfolioJob<'a> {
Sat {
cnf: &'a GpuCnf,
branch_var_limit: &'a TrackedCudaSlice<u32>,
},
MaxSat {
candidates: &'a [GpuSolverProductionMaxSatCandidate<'a>],
},
EncodedMaxSat {
weighted: &'a SolveInstance,
branch_var_limit: &'a TrackedCudaSlice<u32>,
selections: &'a [GpuSolverProductionWeightedMaxSatSelection<'a>],
},
Unknown {
reason: &'static str,
},
Timeout {
budget_micros: u64,
},
}Expand description
One job in a bounded GPU solver portfolio.
Variants§
Sat
A SAT job dispatched through GPU CDCL.
Fields
§
branch_var_limit: &'a TrackedCudaSlice<u32>Device-resident branch limit passed to the GPU CDCL solver.
MaxSat
A bounded MaxSAT job dispatched through GPU CDCL candidate checks.
Fields
§
candidates: &'a [GpuSolverProductionMaxSatCandidate<'a>]Candidate set to certify.
EncodedMaxSat
A weighted MaxSAT job encoded into GPU CNF candidates with an optimum upper-bound certificate.
Fields
§
weighted: &'a SolveInstanceWeighted MaxSAT instance whose soft clauses define the encoded candidates.
§
branch_var_limit: &'a TrackedCudaSlice<u32>Device-resident branch limit passed to the GPU CDCL solver.
§
selections: &'a [GpuSolverProductionWeightedMaxSatSelection<'a>]Soft-clause selections to encode and certify.
Unknown
A status-aware job whose GPU-backed portfolio budget ended inconclusively.
Timeout
A status-aware job whose accepted portfolio budget timed out.
Trait Implementations§
Source§impl<'a> Clone for GpuSolverProductionPortfolioJob<'a>
impl<'a> Clone for GpuSolverProductionPortfolioJob<'a>
Source§fn clone(&self) -> GpuSolverProductionPortfolioJob<'a>
fn clone(&self) -> GpuSolverProductionPortfolioJob<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for GpuSolverProductionPortfolioJob<'a>
Auto Trait Implementations§
impl<'a> Freeze for GpuSolverProductionPortfolioJob<'a>
impl<'a> RefUnwindSafe for GpuSolverProductionPortfolioJob<'a>
impl<'a> Send for GpuSolverProductionPortfolioJob<'a>
impl<'a> Sync for GpuSolverProductionPortfolioJob<'a>
impl<'a> Unpin for GpuSolverProductionPortfolioJob<'a>
impl<'a> UnsafeUnpin for GpuSolverProductionPortfolioJob<'a>
impl<'a> UnwindSafe for GpuSolverProductionPortfolioJob<'a>
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