using Test

using GLPK

@testset "farmer" begin
    include("../examples/farmer.jl")
    status, objval, soln = DLP(m, with_optimizer(GLPK.Optimizer))
    @test status == :Optimal
    @test objval ≈ -108390
    @test soln ≈ [170, 80, 250]
end
