Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
personal:blog:2017:0203_jump_for_gams_users [2017/02/07 10:12] antonello |
personal:blog:2017:0203_jump_for_gams_users [2017/02/07 10:24] antonello [Definition of the parameters] |
||
---|---|---|---|
Line 30: | Line 30: | ||
Run, only once, the following code to install JuMP language and a couple of open source solvers: | Run, only once, the following code to install JuMP language and a couple of open source solvers: | ||
- | < | + | <code julia> |
Pkg.update() | Pkg.update() | ||
Pkg.add(" | Pkg.add(" | ||
Pkg.add(" | Pkg.add(" | ||
Pkg.add(" | Pkg.add(" | ||
- | Pkg.add(" | + | Pkg.add(" |
</ | </ | ||
Line 44: | Line 44: | ||
You will need to import as a minima the '' | You will need to import as a minima the '' | ||
- | < | + | < |
- | # 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 | + | # 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 | using JuMP, DataFrames | ||
</ | </ | ||
Line 56: | Line 56: | ||
<code julia> | <code julia> | ||
- | ## Define sets ## | + | # Define sets # |
# Sets | # Sets | ||
# | # | ||
Line 70: | Line 70: | ||
<code julia> | <code julia> | ||
- | ## Define parameters | + | # Define parameters # |
# | # | ||
# | # |