submit

fun submit(solver: Solver, scope: CoroutineScope = CoroutineScope(SimulationDispatcher.default + SupervisorJob()), preRunWarnings: List<RunWarningType> = emptyList()): RunHandle(source)

Submits the optimization problem for asynchronous execution.

Return

a RunHandle for observing progress and obtaining the result

Parameters

solver

the pre-configured solver (problem, model builder, and initial point already set)

scope

coroutine scope that owns the orchestrator coroutine