2 using System.Collections.Generic;
6 using System.Threading.Tasks;
8 namespace GUI.IO_Modules
13 private DateTime startTime;
14 private DateTime endTime;
25 public bool createDatFile(
double d)
28 if (d > 1 || d <= 0)
throw new Exception(
"Not a valid discretization");
30 StringBuilder sb =
new StringBuilder(5000);
46 String folder = Directory.GetParent(Directory.GetParent(Directory.GetParent(Directory.GetCurrentDirectory()).ToString()).ToString()) +
"\\Resources";
47 using (StreamWriter outputFile =
new StreamWriter(folder +
@"\Test.dat"))
49 outputFile.Write(Data);
String toDatString(double d, DateTime start, DateTime end)
Concatenates the array and set strings, suitable for Xpress. Considers only the needed data...
int maxN
Maximum amount of orders for a single product.
This class reads all the important data out of an Excel file related to the model.