-
Notifications
You must be signed in to change notification settings - Fork 4
/
debug.gms
37 lines (31 loc) · 1.1 KB
/
debug.gms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*
* --- Load test include file, set WORKDIR and RANDOM
* global variables for debugging in Atom
*
*$ontext
$offlisting
$offsymxref offsymlist
option
limrow = 0,
limcol = 0,
sysout = off;
*$offtext
*option limrow = 1000;
* option limcol = 1000;
$include 'test/include/farm5.gms'
$SETGLOBAL WORKDIR './'
$SETGLOBAL RANDOM 'debug.json'
$include 'fruchtfolge.gms'
display p_totLand, v_totGM.l;
*v_binCropPlot.lo(curPlots,curCrops,manAmounts,solidAmounts,nReduction,catchCrop,autumnFert) =
*v_binCropPlot.l(curPlots,curCrops,manAmounts,solidAmounts,nReduction,catchCrop,autumnFert);
*solve Fruchtfolge using MIP maximizing v_obje;
*option v_binCropPlot:0:0:1;
*display v_binCropPlot.l;
* Parameter p_testRed(curPlots,nReduction);
* p_testRed(curPlots,nReduction) $ plots_duevEndangered(curPlots) =
** $ (v_binCropPlot.l('Winterweizen - Brotweizen',curPlots,manAmounts,solidAmounts,nReduction,catchCrop,autumnFert)
*p_grossMarginData(curPlots,'Winterweizen - Brotweizen','20','0',nReduction,'false','false',"minNAmount");
*
*display p_testRed;
execute.async 'redLstSize debug.lst l=true';