julia> model=Model(GLPK.Optimizer)
A JuMP Model
Feasibility problem with:
Variables: 0
Model mode: AUTOMATIC
CachingOptimizer state: EMPTY_OPTIMIZER
Solver name: GLPK
julia> @variable(model,x>=0)
x
julia> @variable(model,0<=y<=3)
y
julia> @objective(model,Min,12x+20y)
12 x + 20 y
julia> @constraint(model,c1,6x+8y>=100)
c1 : 6 x + 8 y >= 100.0
julia> @constraint(model,c2,7x+12y>=120)
c2 : 7 x + 12 y >= 120.0
julia> print(model)
Min 12 x + 20 y
Subject to
c1 : 6 x + 8 y >= 100.0
c2 : 7 x + 12 y >= 120.0
x >= 0.0
y >= 0.0
y <= 3.0