Solver- how to get non linear options available again?

Issues with installing under all GNU/Linux Distributions
Post Reply
ra-loffice
Posts: 11
Joined: Wed Jan 19, 2022 1:38 am

Solver- how to get non linear options available again?

Post by ra-loffice »

I had Solver working fine in L calc 7.2.
I installed L calc 7.3 and can't get non linear options- I use DEPS Evolutionary Algorithm a lot.
How do I fix this?

Thanks, RA
Ubuntu 18.04
Last edited by MrProgrammer on Tue Apr 12, 2022 4:14 pm, edited 1 time in total.
Reason: Moved topic from Calc forum to Linux
Libreoffice Version: 6.0.7.3 on Linux Ubuntu 18.04
User avatar
Villeroy
Volunteer
Posts: 31281
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Solver- how to get non linear options available again?

Post by Villeroy »

The non-linear solver is an add-on that is shipped with the office suite. It is installed by default. It should be listed in the extensions manager.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
ra-loffice
Posts: 11
Joined: Wed Jan 19, 2022 1:38 am

Re: Solver- how to get non linear options available again?

Post by ra-loffice »

>The non-linear solver is an add-on that is shipped with the office suite. It is installed by default. It should be listed in the extensions manager.<

My Lcalc 7.3 extensions manager has nothing in it. I've searched for extensions and found nothing applicable.
Libreoffice Version: 6.0.7.3 on Linux Ubuntu 18.04
User avatar
Villeroy
Volunteer
Posts: 31281
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Solver- how to get non linear options available again?

Post by Villeroy »

If your LO 6.0 is the native office suite of your distribution:

Code: Select all

sudo apt install libreoffice-nlpsolver
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
ra-loffice
Posts: 11
Joined: Wed Jan 19, 2022 1:38 am

Re: Solver- how to get non linear options available again?

Post by ra-loffice »

sudo apt install libreoffice-nlpsolver
That worked, the extension is now in the extension manager, but it's *locked* and the option of running it is still gone.
I can't find anything telling me how to unlock it.
Libreoffice Version: 6.0.7.3 on Linux Ubuntu 18.04
User avatar
Villeroy
Volunteer
Posts: 31281
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Solver- how to get non linear options available again?

Post by Villeroy »

The lock icon indicates that this extension is installed in the installation directory with no write access to the user. You have to remove it as root just like you installed it as root.

It should be availlable after restarting the office suite.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
ra-loffice
Posts: 11
Joined: Wed Jan 19, 2022 1:38 am

Re: Solver- how to get non linear options available again?

Post by ra-loffice »

I am root. I've tried numerous things to get this thing working. NLP is still not available.
Is there a quick way of fixing this?
All this time consuming problem started after installing l office 7.3.
Libreoffice Version: 6.0.7.3 on Linux Ubuntu 18.04
User avatar
Villeroy
Volunteer
Posts: 31281
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Solver- how to get non linear options available again?

Post by Villeroy »

1. You must not use LO as root! This is pointless and dangerous.
Well, then remove 7.3 and restore the old user profile from backup dating back to the day before you added 7.3.
If everything is back and working with LO 6, do the following:
Create a profile folder ~/.config/libreoffice/7
Install 7.3.
Edit /opt/libreoffice7.3/program/bootstrap (as root)
Change the profile folder to ~/.config/libreoffice/7

Now you can use both office suites with independent user profiles.

Or install a more recent Linux distribution.

Or remove LO6, rename the profile folder ~/.config/libreoffice/7 and install LO7. This will start with a new profile folder and you may restore some parts from the renamed backup.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Steph22
Posts: 1
Joined: Sat Jun 04, 2022 5:59 pm

Re: Solver- how to get non linear options available again?

Post by Steph22 »

Bonjour,

I had exactly the same problem ! With LibreOffice 7.3, DEPS solver is not available in the list anymore, and NLP stays " locked" in the Extension Manager...
The only way I have found is to downgrade LibreOffice from 7.3 to 7.2. My solution is little "radical", but DEPS is available again ;)
LibreOffice 7.2.7 on Kubuntu 22.04
Post Reply