maximum and minimum value
Posted: Tue Jul 23, 2019 6:51 pm
Hello,
I have problems with my model.
Base case: A farmer delivers between 50m³ and 100m³ of corn to his customer. For example, if the farmer has only 40m³, he has to procure the 10m³ on the corn market to reach the minimum quantity (50m³). If the farmer has more than 100m³, he can sell the surplus on the corn market.
I have defined the following conditions:
Farmer_Corn(d) + Market_Corn_purchase_quantity(d) = g = minimum_delivery
Farmer_Corn(d) - Market_Corn_sale_quantity(d) = l = maximum_delivery
I have set the condition that the farmer only buy or sell on the corn market when his deliver quantity is below or above the delivery limit.
But I have a erroror message: Model has an unbounded ray.
I would be happy for help. Tomorrow, I can upload the complete code.
(Sorry for my english)
With best regards
Steffen
I have problems with my model.
Base case: A farmer delivers between 50m³ and 100m³ of corn to his customer. For example, if the farmer has only 40m³, he has to procure the 10m³ on the corn market to reach the minimum quantity (50m³). If the farmer has more than 100m³, he can sell the surplus on the corn market.
I have defined the following conditions:
Farmer_Corn(d) + Market_Corn_purchase_quantity(d) = g = minimum_delivery
Farmer_Corn(d) - Market_Corn_sale_quantity(d) = l = maximum_delivery
I have set the condition that the farmer only buy or sell on the corn market when his deliver quantity is below or above the delivery limit.
But I have a erroror message: Model has an unbounded ray.
I would be happy for help. Tomorrow, I can upload the complete code.
(Sorry for my english)
With best regards
Steffen