Bug 157519 - Calc Solver should be able to provide a sensitivity analysis report
Summary: Calc Solver should be able to provide a sensitivity analysis report
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Rafael Lima
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Solver
  Show dependency treegraph
 
Reported: 2023-09-29 19:14 UTC by Rafael Lima
Modified: 2024-10-11 17:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample model for testing (19.89 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-09-27 03:14 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Roman Kuznetsov 2023-10-09 19:48:24 UTC
Let's set to NEW
Comment 2 Rafael Lima 2024-09-20 18:50:36 UTC
WIP patch is here:
https://gerrit.libreoffice.org/c/core/+/173642
Comment 3 Rafael Lima 2024-09-27 03:14:21 UTC
Created attachment 196740 [details]
Sample model for testing

To test the patch with this file, simple open it and then:

1) Tools - Solver (the model will already be saved)
2) Click Options
3) Make sure "LibreOffice Linear Solver" is selected
4) Check "Generate sensitivity report"
5) Click OK and then Solve
6) After the solution was found, click Keep Result

The sensitivity report will be generated in a new sheet called "Model_Sensitivity"
Comment 4 Commit Notification 2024-10-09 12:49:50 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2f1dcf01d713f786ed1bfdc2ba3b6c9e06fb8ecf

tdf#157519 Implement Sensitivity Report in LpSolve solver

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.