/// <summary> /// Transforms this result to a line that can be written to a file /// </summary> /// <returns>The result in a line</returns> public string GetResultLine() { return (SolutionTime.TotalSeconds.ToString(ExportationConstants.FORMATTER) + ExportationConstants.CSV_DELIMITER + ObjectiveValue.ToString(ExportationConstants.FORMATTER) + ExportationConstants.CSV_DELIMITER + BestBound.ToString(ExportationConstants.FORMATTER) + ExportationConstants.CSV_DELIMITER + Gap.ToString(ExportationConstants.FORMATTER)); }
public IBestBound Create( decimal value) { IBestBound result = null; try { result = new BestBound( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(result); }
public IBestBound Create( decimal value) { IBestBound result = null; try { result = new BestBound( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(result); }