* @param xmlFile XML configuration file specified as a command line argument.
* @return optimisation algorithm instance.
*/
private IOptimisationAlgorithm setUpOptAlg(String xmlFile) throws Exception
{
OptimisationAlgConfig optAlgConfig = null;
IOptimisationAlgorithm optAlg = null;
System.out.println("[TestFramework] Loading optimisation algorithm from XML file");
optAlgConfig = optUtil.loadOptAlg(xmlFile);
optAlg = classLoader.getOptimisationAlgorithmInstance(optAlgConfig.getAlgClassName());
System.out.println();
return optAlg;
}