Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_test_julia [2017/02/07 09:11] – removed antonello | home_test_julia [2025/07/01 13:57] (current) – antonello | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Run, only once, the following code to install JuMP language and a couple of open source solvers: | ||
| + | <code julia> | ||
| + | Pkg.update() | ||
| + | Pkg.add(" | ||
| + | Pkg.add(" | ||
| + | Pkg.add(" | ||
| + | Pkg.add(" | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code julia> | ||
| + | # Import of the JuMP and DataFrames modules (the latter one just to import the data from a header-based table, as in the original trasnport example in GAMS | ||
| + | using JuMP, DataFrames | ||
| + | </ | ||
| + | |||
| + | <code julia> | ||
| + | # Define sets # | ||
| + | # Sets | ||
| + | # | ||
| + | # | ||
| + | plants | ||
| + | markets = [" | ||
| + | </ | ||
| + | |||
| + | {{: | ||
