def Solve(self): return _pywrapknapsack_solver.KnapsackSolver_Solve(self)
def Solve(self) -> "int64": return _pywrapknapsack_solver.KnapsackSolver_Solve(self)
def Solve(self) -> "int64": r"""Solves the problem and returns the profit of the optimal solution.""" return _pywrapknapsack_solver.KnapsackSolver_Solve(self)