Example #1
0
        public string WriteInputToFile(List <List <double> > numerators, List <double> denominator, List <Constraint> constraints, List <double> ls, List <double> ws, string optDirection)
        {
            var filename = "InputIndividual_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + ".csv";

            _dataWriter.WriteRecordsToCSV(_mapper.MapProblemInputToStringList(numerators, denominator, constraints, ls, ws, optDirection), filename);
            _dataWriter.LaunchCSVFile(filename);
            return(filename);
        }
Example #2
0
 public void LaunchFile(string filename)
 {
     _dataWriter.LaunchCSVFile(filename);
 }