Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
home_test_julia [2017/02/07 10:11] antonello removed |
home_test_julia [2018/06/18 15:11] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | not in code | ||
+ | Run, only once, the following code to install JuMP language and a couple of open source solvers: | ||
<code julia> | <code julia> | ||
+ | Pkg.update() | ||
+ | Pkg.add(" | ||
+ | Pkg.add(" | ||
+ | Pkg.add(" | ||
+ | Pkg.add(" | ||
+ | </ | ||
- | test | ||
- | |||
- | |||
- | # | ||
- | # | ||
- | #This problem finds a least cost shipping schedule that meets | ||
- | # | ||
- | |||
- | a = [" | ||
+ | <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 | ||
</ | </ | ||
- | ~~NOCACHE~~ | + | <code julia> |
+ | # Define sets # | ||
+ | # Sets | ||
+ | # | ||
+ | # | ||
+ | plants | ||
+ | markets = [" | ||
+ | </ |