I am using the OjAlgo for a linear programming problem which runs on a small gateway (not that much of computation capability). The inputs are changing and I solve the problem each 5 minutes. Before clearing the model and recreating the new one, it goes to UNEXPLORED status after almost 10 solving. Then I figured out it is possible to dispose the model and then recreate new model each time. This helps and it got better. But still after a while it gets into UNEXPLORED state and never gets out. The thing is restoring the java application will solve the issue but again after a while it gets into the same UNEXPLORED mode. Then I created an instance of Intermediate by getModel().prepare() and then dispose it. I see dispose method in the Intermediate has some clearing for the solver also. It helps a lot and now I almost don't see an UNEXPLORED but a few time I still get UNEXPLORED. And when it gets to UNEXPLORED it gets stuck. Seems it has something to do with the cleaning up. Is there another thing that I still need to do to clean the model and the solver? Any help will be appreciated.
0
There are 0 best solutions below
Related Questions in SOLVER
- Get the only solution based on given constraints using z3 theorem
- What is the role of Pyomo/JuMP/Yalmip in solving optimization model using Python/Julia/Matlab and Gurobi Solver?
- How do I make a collatz conjecture solver to find the number with the longest trajectory and output it in a list?
- Match-3 gravity games solver?
- Is there a constraint to pieces of the stateFunction only go in ascending or descending order?
- Change variable cells in OpenSolver model
- Maple polynomial equation solver not identifying solutions
- Is it possible for "alwaysIn" (state functions) select from set of values?
- Python solver returns no values upon running the code
- Optimisation problem with constraint in R: how to solve problem with "complex" logarithmic benefit functions?
- Excel Solver - Useful methods to "kick" Nonlinear solutions out of a stuck point
- LP problem status is not correct when time limit is used in PuLP solver
- Looping though Rows and Columns while running Goalseek
- Adding constraints to PULP. Transportation problem
- sympy solve one equation in 2 unknowns and symbols
Related Questions in OJALGO
- Add BigDecimal values to matrix
- Preallocate number of non-zeroes in ojAlgo
- OJAlgo matrix multiplcation - only the upper triangle
- ojAlgo MatrixR032 creation from string, normalization, and cosine similarity calculation
- How to concatenate two ComplexMatrix?
- Clear the model and the solver,
- How to get variables values from Optimisation.Result in ojAlgo?
- ojalgo : How to sort each row of a matrix?
- Sparse matrix solver in java using ojAlgo library
- How to find the index of maximum element in ojalgo?
- Dual and reduced costs using SimplexSolver from ojAlgo
- How to get multiple values by index in an ojAlgo-array?
- What's the most efficient way to create a diagonal matrix with ojalgo?
- How do one solve linear programming problems with ojAlgo?
- How to encourage a balanced solution in ojAlgo ExpressionBasedModel
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?