def greedy(self,weights,values,remaining):
        if len(weights) == 0:
            return [],0.0,remaining
        
        if weights[0] <= remaining:
            solution,score,remaining = self.greedy(weights[1:],values[1:],weights[0]-remaining)
            return [True]+solution,values[0]+score,remaining
        else: 
            solution,score,remaining = self.greedy(weights[1:],values[1:],remaining)
            return [False]+solution,score,remaining
dataset/ETHPy150Open bolme/pyvision/src/pyvision/optimize/testsuite.py/FitnessNapsack.greedy/swapped operands of `-`