__init__(model, decision_variables, ...)
|
|
calculateFeasibility()
|
Feasibility measure (theta(x)) is: |
calculateStepSizeInfNorm(original_values, ...)
|
Taking original and new values, calculate the step-size norm ||s_k||: |
createConstraints()
|
Create the basis constraint y = b(w) (equation 3) and the surrogate model constraint y = r_k(w) (equation 5) |
getCurrentDecisionVariableValues()
|
Return current decision variable values |
getCurrentModelState()
|
Return current state of all model variables. |
initializeProblem()
|
Initializes appropriate constraints, values, etc. |
rejectStep()
|
If a step is rejected, we reset the model variables values back to their cached state - which we set in solveModel |
replaceEF(expr)
|
Replace an External Function. |
replaceExternalFunctionsWithVariables()
|
This method sets up essential data objects on the new trf_data block on the model as well as triggers the replacement of external functions in expressions trees. |
solveModel()
|
Call the specified solver to solve the problem. |
updateDecisionVariableBounds(radius)
|
Update the TRSP_k decision variable bounds |
updateSurrogateModel()
|
The parameters needed for the surrogate model are the values of: |