1. What is ojAlgo?ojAlgo is an open-source optimization library implemented entirely in Java. It provides mathematical optimization capabilities including linear programming (LP) and mixed-integer linear programming (MILP).
2. Can ojAlgo solve MILP problems?Yes. ojAlgo supports mixed-integer optimization, including integer and binary decision variables, making it suitable for many operational optimization problems in Petroleum Refining Library.
3. Can ojAlgo be used directly in AnyLogic?Yes. ojAlgo runs on the Java Virtual Machine and can be used from Java code in AnyLogic models. Petroleum Refining Libraryadditionally provides a lightweight wrapper that simplifies its integration.
4. Why does Petroleum Refining Library
provide its own ojAlgo wrapper?The wrapper provides a simpler, Petroleum Refining Library-oriented API for defining optimization variables, linear expressions, constraints, objective functions, and retrieving results. It also keeps the Petroleum Refining Library-model code independent from the underlying solver API.
5. What optimization problems can be solved with the Petroleum Refining Library
wrapper?The wrapper is designed primarily for LP and MILP problems, including feedstock allocation, flow distribution, product blending, production planning, resource allocation, storage management, and scheduling.
6. Does the Petroleum Refining Library wrapper require native libraries?No. The wrapper uses ojAlgo as its optimization engine, and ojAlgo is implemented in pure Java. No native solver libraries or JNI components are required.
7. Does the wrapper expose the complete ojAlgo API?No. The Petroleum Refining Library wrapper is intentionally lightweight. It provides the functionality required for common LP and MILP optimization problems rather than exposing every feature of ojAlgo.
8. Where can I download the Petroleum Refining Library ojAlgo wrapper?The current Petroleum Refining Library ILP library is available for download from the link provided in the
Download the Petroleum Refining Library ojAlgo Wrapper section above.