optAlg = setUpOptAlg(args[optAlgIdx]);
appModel = setUpAppModel(args[modelIdx], daoFactory);
objFunc = setUpObjFunc(args[objFuncIdx], appModel, priceCalculator, estimationResult, daoFactory, args[workspaceIdx], aslaParams);
//--- Creating and initialising the Optimiser ---//
opt = new OptimisationManager();
valid = opt.init(optimisationSpace, optAlg, objFunc, priceCalculator, args[workspaceIdx], estimationResult, daoFactory);
if (!valid)
throw new RuntimeException("ERROR: Optimiser could not be initialised");
//--- Disabling caching to allow this to execute stand-alone ---//