getqexpsol
getqexpsol |
Purpose
Return an evaluation of a quadratic expression based on the current solution.
Synopsis
double getqexpsol(XPRMctx ctx, void *quadctx, mmquad_qexp q);
Arguments
ctx
|
Mosel's execution context
|
quadctx
|
Context of
mmquad
|
q
|
Reference to a quadratic expression
|
Return value
An evaluation of the expression on the current solution.
Further information
This function returns an evaluation of a quadratic expression based on last solution obtained from the optimizer. This is the function called when using
getsol on a quadratic expression from a Mosel program.
Module