# Top Brass Trophy problem (Ex. 5.1 in Rardin'98)¶

Top Brass Trophy Company makes large championship trophies for youth athletic leagues. At the moment, they are planning production for fall sports: football and soccer. Each football trophy has a wood base, an engraved plaque, a large brass football on top, and returns \$12 in profit. Soccer trophies are similar except that a brass soccer ball is on top, and the unit profit is only \$9. Since the football has an asymmetric shape, its base requires 4 board feet of wood; the soccer base requires only 2 board feet. At the moment there are 1000 brass footballs in stock, 1500 soccer balls, 1750 plaques, and 4800 board feet of wood. What trophies should be produced from these supplies to maximize total profit assuming that all that are made can be sold?

### Minimal solution¶

In [6]:
using JuMP, Clp

m = Model(solver = ClpSolver())

@variable(m, 0 <= f <= 1000)           # football trophies
@variable(m, 0 <= s <= 1500)           # soccer trophies
@constraint(m, 4f + 2s <= 4800)        # total board feet of wood
@constraint(m, f + s <= 1750)          # total number of plaques
@objective(m, Max, 12f + 9s)           # maximize profit

status = solve(m)

println(status)
println("Build ", getvalue(f), " football trophies.")
println("Build ", getvalue(s), " soccer trophies.")
println("Total profit will be \$", getobjectivevalue(m))  Optimal Build 650.0 football trophies. Build 1100.0 soccer trophies. Total profit will be$17700.0