Skip to content

SolvSolver

Mike edited this page May 22, 2026 · 5 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 SaveAllTrialSolutions Sets whether all intermediate solutions attempted should be saved - see SaveSolutionsToRange and GetSolutionsArray 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