if I call OSInstance::calculateHessian(double*, int rowidx, bool is_new) without having called OSInstance::getLagrangianHessianSparsityPattern() before, then this gives me a seg.fault at OSInstance.cpp:3670 (method OSInstance::getSecondOrderResults()), because m_vbLagHessNonz was not initialized before.
Thus, calling getLagrangianHessianSparsityPattern() helps, but I do not see why this should be required when I want only the hessian of a particular row.
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-01-16 14:54:40
Assignee: somebody
Version:
Hi,
if I call
OSInstance::calculateHessian(double*, int rowidx, bool is_new)
without having calledOSInstance::getLagrangianHessianSparsityPattern()
before, then this gives me a seg.fault atOSInstance.cpp:3670
(methodOSInstance::getSecondOrderResults()
), because m_vbLagHessNonz was not initialized before.Thus, calling
getLagrangianHessianSparsityPattern()
helps, but I do not see why this should be required when I want only the hessian of a particular row.This is OS/trunk rev. 2389.
Best, Stefan