Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove lpsolve from OpenModelica. (#9047)
- `lpsolve` is not needed by OpenModelica anymore. It was used as one of the options to solve a lionear system from the scripting API. That is now removed and all such uses will be handled by `dgesv` instead. - The API function **`SolveLinearSystem`** is changed from ``` function solveLinearSystem input Real[size(B, 1), size(B, 1)] A; input Real[:] B; input LinearSystemSolver solver = LinearSystemSolver.dgesv; input Integer[:] isInt = {-1} "list of indices that are integers"; output Real[size(B, 1)] X; output Integer info; end solveLinearSystem; ``` to ``` function solveLinearSystem input Real[size(B, 1), size(B, 1)] A; input Real[:] B; output Real[size(B, 1)] X; output Integer info; end solveLinearSystem; ``` - The following configuration variables are removed from autoconf - `LIBLPSOLVE55` - `LPSOLVEINCLUDE` - `NO_LPLIB` - The following configuration variables are removed from CMake - `OM_OMC_USE_LPSOLVE` - `OM_OMC_BUILD_LPSOLVE` - The follwong variables are removed from omc_config.h - `CONFIG_LPSOLVEINC` - `System.lpsolve55` is removed from System.mo. - Bootstrapping sources are updated for the change. - Unrelated: - Removed outdated README in OpenModelica/OMCompiler for CMake. There is a new one in OpenModelica/.
- Loading branch information
Showing
30 changed files
with
68 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.