Skip to content

Graphically solves JuMP model with two decision variables using GeoGebra

License

Notifications You must be signed in to change notification settings

remi-garcia/Model2GeoGebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Model2GeoGebra

Graphically solves JuMP model (with two decision variables) using GeoGebra

Usage

include("conversion.jl")

model = Model()
@variable(model, x_1 >= 0)
@variable(model, x_2 >= 0)

@objective(model, Max, 2x_1 + x_2)
@constraint(model, -x_1 + x_2 <= 2)
@constraint(model, x_1 + x_2 <= 6)
@constraint(model, x_1 <= 4)

conversion(model)

A GeoGebra file named geogebra.ggb is generated: alt text

About

Graphically solves JuMP model with two decision variables using GeoGebra

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages