1function [runtime, analyzer] = runAnalyzer(self, options)
7 options = self.getOptions;
15if self.enableChecks && ~self.supports(self.model)
16 ME = MException(
'Line:FeatureNotSupportedBySolver',
'This model contains features not supported by the solver.');
20Solver.resetRandomGeneratorSeed(options.seed);
22sn = getStruct(self); % doesn
't need initial state
24if (strcmp(options.method,'exact
')||strcmp(options.method,'mva
')) && ~self.model.hasProductFormSolution
25 line_error(mfilename,'The exact method
requires the model to have a product-form solution. This model does not have one. You can use Network.hasProductFormSolution() to check before running the solver.
');
28method = options.method;
30[QN,UN,RN,TN,CN,XN,runtime] = solver_custom_analyzer(sn, options);
33 analyzer = @(sn) solver_customer_anlyzer(sn, options);
36self.setAvgResults(QN,UN,RN,TN,[],[],CN,XN,runtime,method);