Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:20]
antonello
personal:blog:2017:0203_jump_for_gams_users [2018/06/18 15:11]
127.0.0.1 external edit
Line 45: Line 45:
  
 <code  julia> <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 +# 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
 </code> </code>
Line 56: Line 56:
    
 <code julia> <code julia>
-## Define sets ##+# Define sets #
 #  Sets #  Sets
 #         canning plants   / seattle, san-diego / #         canning plants   / seattle, san-diego /
Line 70: Line 70:
  
 <code julia> <code julia>
-## Define parameters ##+# Define parameters #
 #   Parameters #   Parameters
 #       a(i)  capacity of plant i in cases #       a(i)  capacity of plant i in cases
Line 135: Line 135:
  
 <code julia> <code julia>
-# Model declaration +# Model declaration (transport model) 
-trmodel = Model() # transport model+trmodel = Model()  
 </code> </code>
  
personal/blog/2017/0203_jump_for_gams_users.txt · Last modified: 2023/12/22 11:39 by antonello
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0