This doesn't have the revenue portion. My function will only solve the
optizimation problem, not set up the cost and profit for each supply and
demand.