Skip to main content

select

Function select 

Source
pub fn select(items: &[QuboItem], budget: usize) -> Vec<usize>
Expand description

Solve the selection QUBO with deterministic simulated annealing. Returns the indices of selected items. Seeded by a stable hash of the problem so the result is reproducible. Registers activity for introspect cognition.