pub enum GpuSolverProductionMaxSatScheduleJob<'a> {
CandidateSet {
candidates: &'a [GpuSolverProductionMaxSatCandidate<'a>],
},
Search {
candidates: &'a [GpuSolverProductionMaxSatSearchCandidate<'a>],
},
EncodedSearch {
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 an accepted GPU-backed MaxSAT scheduler batch.
Variants§
CandidateSet
Certify a caller-provided weighted candidate set through GPU CDCL SAT.
Fields
§
candidates: &'a [GpuSolverProductionMaxSatCandidate<'a>]Candidate set to certify.
Search
Certify and prune a caller-provided weighted MaxSAT search frontier.
Fields
§
candidates: &'a [GpuSolverProductionMaxSatSearchCandidate<'a>]Search candidates to certify or prune.
EncodedSearch
Encode weighted soft-clause selections into GPU CNF candidates before search.
Fields
§
weighted: &'a SolveInstanceWeighted MaxSAT instance whose soft clauses define the schedule.
§
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 scheduled MaxSAT batch whose GPU-backed budget ended inconclusively.
Timeout
A scheduled MaxSAT batch whose accepted GPU-backed budget timed out.
Trait Implementations§
Source§impl<'a> Clone for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> Clone for GpuSolverProductionMaxSatScheduleJob<'a>
Source§fn clone(&self) -> GpuSolverProductionMaxSatScheduleJob<'a>
fn clone(&self) -> GpuSolverProductionMaxSatScheduleJob<'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 GpuSolverProductionMaxSatScheduleJob<'a>
Auto Trait Implementations§
impl<'a> Freeze for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> RefUnwindSafe for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> Send for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> Sync for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> Unpin for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> UnsafeUnpin for GpuSolverProductionMaxSatScheduleJob<'a>
impl<'a> UnwindSafe for GpuSolverProductionMaxSatScheduleJob<'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