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 [2023/12/22 11:15] antonello [Installation] |
personal:blog:2017:0203_jump_for_gams_users [2023/12/22 11:20] antonello [Definition of the "parameters"] |
||
---|---|---|---|
Line 44: | Line 44: | ||
==== Importing the libraries ==== | ==== Importing the libraries ==== | ||
- | 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 | + | # Import of the JuMP, GLPK, CSV and DataFrames modules (the latter |
- | using JuMP, DataFrames | + | using CSV, DataFrames, GLPK, JuMP |
</ | </ | ||
Line 96: | Line 96: | ||
# seattle | # seattle | ||
# san-diego | # san-diego | ||
- | d_table = wsv""" | + | d_table = CSV.read(IOBuffer(""" |
plants | plants | ||
seattle | seattle | ||
san_diego | san_diego | ||
- | """ | + | """ |
d = Dict( (r[: | d = Dict( (r[: | ||
# Here we are converting the table in a " | # Here we are converting the table in a " |