Skip to content

intquadprog crashes on infeasible problems #18

@Siddharth11235

Description

@Siddharth11235

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions