Skip to content

SolvSolver

Michael Waite edited this page Mar 16, 2026 · 3 revisions

A class to manage Solver Engine and Options. Example usage:

Problem.Solver.Method = slvGRG_Nonlinear
Class Method/Property Description
SolvSolver EnableEvents Enables the ShowTrial, BeforeSolve, AfterSolve events of the SolvProblem class (default = False).
SolvSolver Method Sets/Gets the solver method (engine) to use to solve the problem.
SolvSolver MsgCodeToString Returns the string message associated with the Solver code returned by SolveIt method.
SolvSolver Options Exposes the Solver Options object.
SolvSolver Reset Resets all Option values to defaults.
SolvSolver SaveAllTrialSolutions Sets whether all intermediate solutions attempted should be saved - see SaveSolutionsToRange and SaveSolutionsToArray of the SolvProblem class to access these solutions.
SolvSolver UserCallbackMacroName Sets the name of the user-defined callback function that will be called on each trial solution. If this is used in conjunction with the ShowTrial event, then the return value from the callback function takes precedence over the return value from the event.

Clone this wiki locally