ActiveField Technology Objects Overview Hierarchy Chart How to Start: Application Object How to work with Problems How to work with Model How to work with Data How to Analyze Results

SolveProblem Method

Summary

Solves the problem or starts the asynchronous solving process.

Syntax

Problem.SolveProblem (
  [NoWait As Boolean]
) As SolvingState

Parameters

NoWait
[in] Boolean

Remarks

If the NoWait parameter is omitted or set to FALSE, that method returns control to the caller program only when the solving process finishes.

If you specify a NoWait input parameter as True, the method starts the asynchronous solving process and returns control to the caller immediately.

In the last case the SolveProblem method also returns SolvingState object - a special object that gives you the ability to know about the solution process in progress. The SolvingState object represents a dialog with one or two progress-bars that appears while the solution is running. You can make it visible or invisible, get the position of progress indicator, or cancel the solving process.