Meike Wortel
Mathematica Packages
A mathematica package that communicates between Mathematica and optimization modeling system GAMS. Models can be written in Mathematica and with the package a GAMS input file can be generated. When that file is run in GAMS a excel output file will be generated. The package can then be used to import that data and use and plot it in an easy way.
CellModel can be used to change parameters in a model with adjusting other parts.
See also the example file.
Examples
Older versions
To make the legends look nicer in mathematica
In PlotLegends.m change the following things
- In Options[Legend] change the row with LegendPosition to: LegendPosition -> {1, -0.2},
- In Options[Legend] change the row with LegendShadow to: LegendShadow -> None,
- In the function ShowLegend comment or remove: LegendPosition -> ap,
Change that row to: Legend[##, (*LegendPosition -> ap, *)Apply[Sequence, bubbledownopts]]&,
Email: meike [d] wortel [a] vu [d] nl