I’m implementing a transshipment model in the python module Pyomo where I’m trying to optimise the movement of products that are shipped between suppliers to buyers.
I need to implement a constraint where some supplier – buyer combinations are Not Approved and therefore the volume of the product allocated should be 0.
Any recommendations on how I should implement this? My previous attempts have given rise to an infeasible problem.