MIN
SH+2R+3M+3B+2SA+G+T
SUBJECT TO
    SH <=1
    R <= 2
    M <= 2
    B <= 4
    SA <= .5
    G <= .5
    T <= 1
    X2 - X1 + SH >= 1    
    X3 - X2 + R  >= 2
    X4 - X2 + M  >= 2
    X5 - X2 + B  >= 4
    X5 - X4      >= 0
    X6 - X3 + G  >=.5
    X6 - X5 + SA >=.5
    X6 - X2 + T  >= 1
    X6-X1 <=4
END