### A Pluto.jl notebook ###
# v0.19.0

using Markdown
using InteractiveUtils

# â•”â•�â•¡ ca2d345e-ac76-11ec-2164-8f36e66bc097
begin
    import Pkg
    Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true
    Pkg.activate(; temp = false)
    Pkg.add([Pkg.PackageSpec("JuMP")])
    Pkg.status()
    md"""
    **NOTE:** remove this cell/code
    **NOTA:** remover esta celda/codigo
    """
end

# â•”â•�â•¡ ca2d347e-ac76-11ec-01ab-61d4b5dd60ba
using JuMP

# â•”â•�â•¡ 76d17b3f-1309-462f-9a25-77cc306ff1f0
md"""
## Ejemplo de Modelos de ProgramaciÃ³n Lineal
"""

# â•”â•�â•¡ 5751108d-6a44-4d33-9386-5d811638c6f0
begin
    ãŠ­ = JuMP.Model()

    @variable(ãŠ­, ğŸ’» >= 0)
    @variable(ãŠ­, ğŸ“± >= 0)

    @objective(ãŠ­, Max, 3 * ğŸ’» + 5 * ğŸ“±)

    @constraint(ãŠ­, ğŸ’» <= 4)
    @constraint(ãŠ­, 2 * ğŸ“± <= 12)
    @constraint(ãŠ­, 3 * ğŸ’» + 2 * ğŸ“± <= 18)

    nothing
end

# â•”â•�â•¡ c47d8551-2317-493c-a67a-0c892fa6dd82
JuMP.latex_formulation(ãŠ­)

# â•”â•�â•¡ Cell order:
# â•Ÿâ”€ca2d345e-ac76-11ec-2164-8f36e66bc097
# â• â•�ca2d347e-ac76-11ec-01ab-61d4b5dd60ba
# â•Ÿâ”€76d17b3f-1309-462f-9a25-77cc306ff1f0
# â• â•�5751108d-6a44-4d33-9386-5d811638c6f0
# â• â•�c47d8551-2317-493c-a67a-0c892fa6dd82
