Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <knapsack_solver.h>
Public Member Functions | |
KnapsackAssignment (int _item_id, bool _is_in) | |
Public Attributes | |
int | item_id |
bool | is_in |
(user): Add a new propagator class for conflict constraint.
(user): Add a new propagator class used as a guide when the problem has several dimensions.
--— KnapsackAssignment --— KnapsackAssignment is a small struct used to pair an item with its assignment. It is mainly used for search nodes and updates.
Definition at line 301 of file knapsack_solver.h.
|
inline |
Definition at line 302 of file knapsack_solver.h.
bool operations_research::KnapsackAssignment::is_in |
Definition at line 305 of file knapsack_solver.h.
int operations_research::KnapsackAssignment::item_id |
Definition at line 304 of file knapsack_solver.h.