I have a code for a backpack optimization problem using simulating annealing. I want to use it as a base to solve this task sequencing problem but I don't know how to change the capacity variable for this other application. The code attached is the one that i made using the excel information, which is the data for the backpack problem (articles, price, and weight for optimizing the price with less weight). The other excel data is the problem i want to resolve just adapting the existing code using Simulated Annealing algorithm. The other problem stablishes 3 machines and 4 tasks and the time for each in order to find the route that minimizes the time but goes through all the machines and tasks.