[Ipopt] Fwd: add IpExpansionMatrix.hpp to coinor-libipopt-dev package?

Greg Horn gregmainland at gmail.com
Thu Mar 13 11:05:34 EDT 2014


(resending to the mailing list, sorry)

---------- Forwarded message ----------
From: Greg Horn <gregmainland at gmail.com>
Date: Thu, Mar 13, 2014 at 4:04 PM
Subject: Re: [Ipopt] add IpExpansionMatrix.hpp to coinor-libipopt-dev
package?
To: Stefan Vigerske <stefan at math.hu-berlin.de>


Oh great! Thanks! How long do you think it'll take to make it into the
debian repos?

Greg


On Thu, Mar 13, 2014 at 2:37 PM, Stefan Vigerske
<stefan at math.hu-berlin.de>wrote:

> Hi,
>
> I think it wouldn't harm to install also this header file. Will do so with
> the next release.
>
> Stefan
>
>
> On 03/12/2014 01:57 PM, Greg Horn wrote:
>
>> Hello,
>>
>> I'm new to the mailing list and couldn't figure out how to search the
>> archive, sorry if this is a repost.
>>
>> I'm trying to make the CasADi project work with the Ipopt in the debian
>> packages, and I have run into an issue with the user callback
>> functionality. When the user callback needs the constraint function "g",
>> we
>> have to shift the value by the right hand side. We use the following code
>> to do this:
>>
>>    const Index* c_pos = tnlp_adapter->P_c_g_->ExpandedPosIndices();
>>    Index n_c_no_fixed = tnlp_adapter->P_c_g_->NCols();
>>    for (Index i=0; i<n_c_no_fixed; i++) {
>>      g_[c_pos[i]] += tnlp_adapter->c_rhs_[i];
>>    }
>>
>> The problem is this code requires IpExpansionMatrix.hpp, which is not in
>> the -dev package. I suspect it might also be missing from headers
>> generated
>> by "make install".
>>
>> Is the correct solution here to add the missing header to the packages? Or
>> is there a better way to access the "true" intermediate constraint value?
>>
>> Thank you!
>> Greg
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140313/7e846d87/attachment.html>


More information about the Ipopt mailing list