|
void QuadTMINLP::finalize_solution(TMINLP::SolverReturn status, Index n, const Number* x,Number obj_value) |
|
{ |
|
|
|
finalX_ = (double*)malloc(sizeof(double) * numVars_ * 1); |
|
for (Index i=0; i<n; i++) |
|
{ |
|
finalX_[i] = x[i]; |
|
} |
|
|
|
finalObjVal_ = obj_value; |
|
status_ = status; |
|
} |
When we try to solve infeasible problems in intquadprog, it crashes while in the FinaliseSolution method.
FOSSEE-Optimization-toolbox/sci_gateway/cpp/sci_QuadTMINLP.cpp
Lines 204 to 215 in b8703eb
When we try to solve infeasible problems in intquadprog, it crashes while in the FinaliseSolution method.