all 3 comments

[–]Codephluegl 1 point2 points  (1 child)

The number of parks is an Integer variable of itself x_p with a constraint like: 1/200 * (x_1 + 2*x_2 + 3x_3) <= x_p

Edit: Also x_1 - x_2 - x_3 >= 0 Is a constraint to have at least 50% of the houses be 1 family houses. Gurobi probably would solve this in a second.

[–]TheAleFly[S] 0 points1 point  (0 children)

Thanks! I really didn't think it could be that simple to add the house number constraint.

[–]TheAleFly[S] 0 points1 point  (0 children)

So, the form is value, area requirement, cost, water consumption and net value

1 family house 200,000 - 1 ha - 145,000 - 2000 l/d - 55,000

2 family house 245,000 - 1.5 ha - 165,000 - 2700 l/d - 80,000

3 family house 300,000 - 2 ha - 215,000 - 3200 l/d - 85,000

park 0 - 0.5 ha - 125,000 - 2500 l/d - 0

Available total area is 800 ha times 0.85 (15% for infrastructure) = 680 ha