[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speed of Ocave vs Matlab?
From: |
Olaf Till |
Subject: |
Re: Speed of Ocave vs Matlab? |
Date: |
Tue, 8 Sep 2015 09:17:14 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Sep 07, 2015 at 03:11:43PM -0700, rocketsound wrote:
> ... But for example the function qp (comparable to quadprog) is
> terribly slow. My MPC controller calculations take like 10 seconds with
> Matlab but at least one whole day with Octave.
This sounds as if there were several different algorithms involved,
where it is natural that not the same algorithms are automatically
used by Matlab and Octave, so that this is not just a general
comparison of Matlab and Octave, but of some different special
algorithms. But I don't understand what you are doing.
MPC? Do you optimize dynamic models?
Do you really mean qp? It doesn't evaluate a user function at
all... What are the sizes of your input arguments of qp? Is it really
the call to qp which lasts so long? Is qp called several times?
Olaf
--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net
signature.asc
Description: Digital signature
Re: Speed of Ocave vs Matlab?, Markus Bergholz, 2015/09/07