[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Need Help with nonlin_redidim in optim

From: Wirth, Rosmarie
Subject: AW: Need Help with nonlin_redidim in optim
Date: Fri, 5 Oct 2018 11:40:42 +0000

Dear Olaf,

thanks for your help.

I can open, read and manipulate all function files. So this is not the Problem.

We checkt whether we have several installations of optim or octave, but this is 
not the case.
On one of our Computers, which is freshly set up, we have the same problem.
Also we are the root-user and there are no non-root-users using this computers. 
To be sure
I deinstalled all packages and reinstalled them like you told. But no change.

The interessting point is, we have the same error on all three Mac computers we 
are using.
We are using the ios " High Sierra".
We have another Person in this office, she is using windows and has no 
Problems, even though
she is using the same skript.

Maybe it has something to do with the ios?


Von: Olaf Till address@hidden
Gesendet: Donnerstag, 4. Oktober 2018 12:09
An: Wirth, Rosmarie
Cc: Octave Help Mailing List
Betreff: Re: Need Help with nonlin_redidim in optim

On Thu, Oct 04, 2018 at 09:06:20AM +0000, Wirth, Rosmarie wrote:
> Thanks for your help!
> The full Error message:
> octave:2> run Desktop/Octave/Fit.m
> '__collect_constraints__' undefined near line 151 column 7
> error: called from
>     __nonlin_residmin__ at line 150 column 48
>     nonlin_residmin at line 97 column 21
>     Fit at line 17 column 24
>     run at line 71 column 7
> I am using optim 1.5.3 and I reinstalled all packages and octave several times

Yet this looks like an installation
problem. "__collect_contraints__.m" is a part of the optim package,
but it is not found.

If you type, at the Octave prompt:

which nonlin_residmin

the path to nonlin_residmin will be displayed:

'nonlin_residmin' is a function from the file /<some-path>/nonlin_residmin.m

In /<some-path>/ there should be a subdirectory 'private/'. Make sure
it is readable. To test this, you could cd into this subdirectory and
try to list its contents. Within this subdirectory there should be,
among others, the function files '__nonlin_residmin__.m' and
'__collect_constraints__.m'. Make sure all are readable, especially
the latter. To test this, you could try to open them with an editor.

If this doesn't give a clue -- sometimes there are weird problems due
to several concurrent installations of the same package (optim in this
case). E.g., it could be installed from a package provided by the
operating system, from the original Octave Forge package system wide
(with 'pkg' by the root user), and from the original Octave Forge
package not system wide (with 'pkg' by a non-priviledged user). If in
doubt, clear all installations: Start Octave as root, type 'pkg
uninstall optim'. Do the same after starting Octave as non-root. Make
sure not to have an optim package of your operating system installed
somewhere else (or only leave the latter installed).

Before you re-install optim with pkg, make sure to have started Octave
with a suitable 'umask'. E.g., type 'umask 022' from the shell, then
start Octave from this shell.

Please keep the help mailing list CCed.


public key id EAFE0591, e.g. on x-hkp://

Bitte denken Sie an die Umwelt! Müssen Sie diese Nachricht ausdrucken?
Fielmann Ventures GmbH - Sitz der Gesellschaft: Hamburg - Amtsgericht Hamburg, 
HRB 124118 - Geschäftsführer: Dr. Michael Ahrens, Marc Fielmann, Thomas Rützel, 
Dr. Stefan Thies, Georg Alexander Zeiss

reply via email to

[Prev in Thread] Current Thread [Next in Thread]