Changeset 16897
- Timestamp:
- 05/06/19 13:42:57 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.ExactOptimization/3.3/LinearProgramming/Algorithms/Solvers/Base/LinearSolver.cs
r16891 r16897 174 174 175 175 if (!solver.SetSolverSpecificParametersAsString(SolverSpecificParameters)) 176 throw new ArgumentException("Solver specific parameters could not be set."); 176 throw new ArgumentException("Solver specific parameters could not be set. " + 177 $"For details, see the log files in '{LogDirectory}'."); 177 178 178 179 resultStatus = (ResultStatus)solver.Solve(parameters); … … 234 235 solver = new Solver(Name, optimizationProblemType, libraryName ?? string.Empty); 235 236 } catch { 236 throw new InvalidOperationException($"Could not create {optimizationProblemType}.");237 solver = null; 237 238 } 238 239 239 240 if (solver == null) 240 throw new InvalidOperationException($"Could not create {optimizationProblemType}."); 241 throw new InvalidOperationException($"Could not create {optimizationProblemType}. " + 242 $"For details, see the log files in '{LogDirectory}'."); 241 243 242 244 solver.SuppressOutput();
Note: See TracChangeset
for help on using the changeset viewer.