[Ipopt-tickets] [Ipopt] #228: speed up function evaluation
Ipopt
coin-trac at coin-or.org
Fri Jan 10 14:19:27 EST 2014
#228: speed up function evaluation
----------------------------+----------------------
Reporter: wan75 | Owner: stefan
Type: clarification | Status: assigned
Priority: normal | Component: Ipopt
Version: 3.11 | Severity: normal
Resolution: | Keywords:
----------------------------+----------------------
Changes (by stefan):
* owner: ipopt-team => stefan
* status: new => assigned
Comment:
First question: There are options to tell Ipopt that Jacobian and Hessian
are constant:
{{{
jac_c_constant yes
jac_d_constant yes
hessian_constant yes
}}}
That should disable most calls to {{{eval_jac}}} and {{{eval_h}}}.
Second question: The interface is build such that it passes you a memory
block which you have to fill with data. That is usually fine, as data
would change anyway and thus have to be written.
Note, that {{{iRow}}} and {{{jCol}}} have to be filled only once during
initialization, while the {{{values}}} array has to be filled in each
iteration.
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/228#comment:1>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list