blob: cf2dd5e2cef49f56ef2d415b9ed9d762f418ad8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# coding=utf-8
id = 159
number = 63
visible = False
facts = None
solution = '''\
linear_opt(X, Y, MaxE) :-
{ X >= 0, Y >= 0, X =< 5,
X+Y =< 7, X+2*Y >= 4, Y =< X+5,
MaxE = -0.4*X+3.2*Y },
maximize(MaxE).'''
|