private static void writeLogReport(long tDuration,ArrayList<Double> incumbent,double incumbentObjective){
  log.info("Took " + tDuration + "ms for "+ numberOfIterations+ " iterations.");
  log.info("=============================================================================");
  log.info("Algorithm parameters:");
  log.info("");
  log.info("     Initial temperature: " + initialTemperature);
  log.info("     Temperature reduction frequency: " + temperatureReductionFrequency);
  log.info("     Temperature reduction factor: " + temperatureReductionFactor);
  log.info("     Number of iterations: " + numberOfIterations);
  log.info("=============================================================================");
  log.info("Solution parameters:");
  log.info("");
  log.info("     Beta1: " + incumbent.get(0));
  log.info("     Beta2: " + incumbent.get(1));
  log.info("     Square error: " + incumbentObjective);
  log.info("=============================================================================");
  log.info("Done.");
}

private static void writeLogReport ( long tDuration , ArrayList < Double > incumbent , double incumbentObjective ) { log . info ( "Took " + tDuration + "ms for " + numberOfIterations + " iterations." ) ; log . info ( "=============================================================================" ) ; log . info ( "Algorithm parameters:" ) ; log . info ( "" ) ; log . info ( "     Initial temperature: " + initialTemperature ) ; log . info ( "     Temperature reduction frequency: " + temperatureReductionFrequency ) ; log . info ( "     Temperature reduction factor: " + temperatureReductionFactor ) ; log . info ( "     Number of iterations: " + numberOfIterations ) ; log . info ( "=============================================================================" ) ; log . info ( "Solution parameters:" ) ; log . info ( "" ) ; log . info ( "     Beta1: " + incumbent . get ( 0 ) ) ; log . info ( "     Beta2: " + incumbent . get ( 1 ) ) ; log . info ( "     Square error: " + incumbentObjective ) ; log . info ( "=============================================================================" ) ; log . info ( "Done." ) ; }
just write some reporting to the log - file .
