![]() |
OR-Tools
8.2
|
Definition at line 306 of file knapsack_solver.h.
Public Member Functions | |
KnapsackItem (int _id, int64 _weight, int64 _profit) | |
double | GetEfficiency (int64 profit_max) const |
Public Attributes | |
const int | id |
const int64 | weight |
const int64 | profit |
|
inline |
Definition at line 307 of file knapsack_solver.h.
|
inline |
Definition at line 309 of file knapsack_solver.h.
const int id |
Definition at line 317 of file knapsack_solver.h.
const int64 profit |
Definition at line 319 of file knapsack_solver.h.
const int64 weight |
Definition at line 318 of file knapsack_solver.h.