![]() |
OR-Tools
8.2
|
Definition at line 674 of file knapsack_solver.cc.
Public Member Functions | |
Knapsack64ItemsSolver (const std::string &solver_name) | |
void | Init (const std::vector< int64 > &profits, const std::vector< std::vector< int64 > > &weights, const std::vector< int64 > &capacities) override |
int64 | Solve (TimeLimit *time_limit, bool *is_solution_optimal) override |
bool | best_solution (int item_id) const override |
virtual void | GetLowerAndUpperBoundWhenItem (int item_id, bool is_item_in, int64 *lower_bound, int64 *upper_bound) |
virtual std::string | GetName () const |
|
explicit |
Definition at line 724 of file knapsack_solver.cc.
|
inlineoverridevirtual |
Implements BaseKnapsackSolver.
Definition at line 687 of file knapsack_solver.cc.
|
virtualinherited |
Reimplemented in KnapsackGenericSolver.
Definition at line 1372 of file knapsack_solver.cc.
|
inlinevirtualinherited |
Definition at line 590 of file knapsack_solver.h.
|
overridevirtual |
Implements BaseKnapsackSolver.
Definition at line 739 of file knapsack_solver.cc.
Implements BaseKnapsackSolver.
Definition at line 779 of file knapsack_solver.cc.