Skip to content

Commit 5da3760

Browse files
Updating to newest AIMMS and WebUI version.
1 parent aafbbee commit 5da3760

4 files changed

Lines changed: 55 additions & 5 deletions

File tree

Knapsack.aimms

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
2-
<References AIMMS_Version="4.93.1.1 (x64)">
2+
<References AIMMS_Version="24.5.8.5 (x64)">
33
<MainProject Path="MainProject" />
44
<Library System="true" Path="AimmsPro" />
5-
<Library System="true" Path="AimmsWebUI" />
6-
<RepositoryLibrary UUID="E26C298C-5EF6-42C5-B7B7-59ED3DF48D6F" Name="AimmsXLLibrary" Version="1.1.0.29" />
5+
<RepositoryLibrary UUID="E26C298C-5EF6-42C5-B7B7-59ED3DF48D6F" Name="AimmsXLLibrary" Version="24.0.0.2" />
6+
<RepositoryLibrary UUID="69378F70-E906-486F-8F2C-1D606AEB9669" Name="WebUI" Version="24.10.3.3" />
77
</References>

MainProject/Project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<Project AimmsVersion="4.93.1.1 unicode x64" ProjectUUID="F8A29558-2CFD-43C6-BD03-CB304C7E812C">
2+
<Project AimmsVersion="24.5.8.5 unicode x64" ProjectUUID="F8A29558-2CFD-43C6-BD03-CB304C7E812C">
33
<ModelFileName>Knapsack.ams</ModelFileName>
44
<AutoSaveAndBackup>
55
<DataBackup AtRegularInterval="true" EveryNMinutes="15" NumBackupsDatedToday="3" NumDaysBeforeToday="3" />
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Configure the highcharts widgets data overload threshold limit
2+
// webui_highcharts_data_overload_threshold = 1000;

MainProject/WebUI/webui.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44
"aimms.widget.type": {
55
"literal": "application"
66
},
7+
"browser.language": {
8+
"aimms": {
9+
"contents": [
10+
"webui::ClientBrowserLanguage"
11+
]
12+
}
13+
},
14+
"browser.name": {
15+
"aimms": {
16+
"contents": [
17+
"webui::ClientBrowserName"
18+
]
19+
}
20+
},
21+
"browser.timezone": {
22+
"aimms": {
23+
"contents": [
24+
"webui::BrowserTimeZone"
25+
]
26+
}
27+
},
728
"browsername": {
829
"aimms": {
930
"contents": [
@@ -597,6 +618,9 @@
597618
},
598619
"title": {
599620
"literal": "per Quantity"
621+
},
622+
"views": {
623+
"literal": {}
600624
}
601625
},
602626
"widgets/cmb_weightResults": {
@@ -662,6 +686,9 @@
662686
},
663687
"title": {
664688
"literal": "per Weight"
689+
},
690+
"views": {
691+
"literal": {}
665692
}
666693
},
667694
"widgets/img_homeLogo": {
@@ -731,6 +758,9 @@
731758
},
732759
"show.units": {
733760
"literal": 1
761+
},
762+
"views": {
763+
"literal": {}
734764
}
735765
},
736766
"widgets/scl_maxWeightKnapsack_1": {
@@ -752,6 +782,9 @@
752782
},
753783
"show.units": {
754784
"literal": 1
785+
},
786+
"views": {
787+
"literal": {}
755788
}
756789
},
757790
"widgets/scl_modelInformation": {
@@ -772,6 +805,9 @@
772805
},
773806
"name": {
774807
"literal": "scl_modelInformation"
808+
},
809+
"views": {
810+
"literal": {}
775811
}
776812
},
777813
"widgets/scl_totals": {
@@ -792,6 +828,9 @@
792828
},
793829
"title": {
794830
"literal": "Totals"
831+
},
832+
"views": {
833+
"literal": {}
795834
}
796835
},
797836
"widgets/sld_maxItems": {
@@ -819,6 +858,9 @@
819858
},
820859
"step": {
821860
"literal": 1
861+
},
862+
"views": {
863+
"literal": {}
822864
}
823865
},
824866
"widgets/tbl_items": {
@@ -919,6 +961,9 @@
919961
},
920962
"title": {
921963
"literal": "Item Information"
964+
},
965+
"views": {
966+
"literal": {}
922967
}
923968
},
924969
"widgets/tbl_knapsackItems": {
@@ -1018,14 +1063,17 @@
10181063
},
10191064
"name": {
10201065
"literal": "tbl_knapsackItems"
1066+
},
1067+
"views": {
1068+
"literal": {}
10211069
}
10221070
},
10231071
"widgets/txt_problemDescription": {
10241072
"aimms.widget.type": {
10251073
"literal": "text"
10261074
},
10271075
"contents": {
1028-
"literal": "<div><span style=\"font-size: 32px;\"><b>Story</b></span></div><div><br></div><div><span style=\"font-size: 18px;\">This example introduces a knapsack problem. </span></div><div><br></div><div><span style=\"font-size: 18px;\">Data to this example can be added by:</span></div><ul><li><b style=\"font-size: 18px;\">Importing the Excel file</b><span style=\"font-size: 18px;\"> with a data set of 14 items that can be included in the knapsack and its weight values.</span></li><li><span style=\"font-size: 18px;\"> Create a new scenario by selecting in the slide widget a number of items and then </span><b style=\"font-size: 18px;\">generating random values</b><span style=\"font-size: 18px;\"> for weight and bounds.&nbsp;</span></li></ul><div><span style=\"font-size: 18px;\">&nbsp;</span></div><div><span style=\"font-size: 18px;\">The objective is to maximize the cumulated value of the items. The number of items is restricted by the maximum weight and items that can be carried in the knapsack.</span></div><div><br></div><div><span style=\"font-size: 18px;\">In the classical knapsack problem, each item can be chosen only once. This example also considers variants of the problem in which the number of equal items is unlimited or limited to certain integers.</span></div><div><br></div><div><br></div>"
1076+
"literal": "<div><b><span style=\"font-size: 32px;\">Story</span></b></div><div><br></div><div><span style=\"font-size: 18px;\">This example introduces a knapsack problem. </span></div><div><br></div><div><span style=\"font-size: 18px;\">Data to this example can be added by:</span></div><ul><li><b style=\"font-size: 18px;\">Imp</b><span style=\"font-size: 18px;\"><b>o</b></span><b style=\"font-size: 18px;\">rti</b><span style=\"font-size: 18px;\"><b>n</b></span><b style=\"font-size: 18px;\">g the Excel f</b><span style=\"font-size: 18px;\"><b>i</b></span><b style=\"font-size: 18px;\">l</b><span style=\"font-size: 18px;\"><b>e</b> with a data set of 14 items that can be included in the knapsack and its weight values.</span></li><li><span style=\"font-size: 18px;\"> Create a new scenario by selecting in the slide widget a number of items and then </span><b style=\"font-size: 18px;\">generating random values</b><span style=\"font-size: 18px;\"> for weight and bounds.&nbsp;</span></li></ul><div><span style=\"font-size: 18px;\">&nbsp;</span></div><div><span style=\"font-size: 18px;\">The objective is to maximize the cumulated value of the items. The number of items is restricted by the maximum weight and items that can be carried in the knapsack.</span></div><div><br></div><div><span style=\"font-size: 18px;\">In the classical knapsack problem, each item can be chosen only once. This example also considers variants of the problem in which the number of equal items is unlimited or limited to certain integers.</span></div><div><br></div><div><br></div><div><br></div>"
10291077
},
10301078
"name": {
10311079
"literal": "txt_problemDescription"

0 commit comments

Comments
 (0)