Week 4 - First Solver Adapter and Setup
In the past week, I integrated the Commons Math Solver into the new abstraction layer and set up the entire development environment so that everything runs stably. Progress: Built the ILPSolver interface and fully implemented the first adapter ( CommonsMathSolver ). Created a new class ( LPSolution ) to standardize result handling. Set up a demo class ( SolverDemo ) to test how the algorithm works. Challenges and Solutions: Repeated ClassNotFoundException : The main cause was a non-standard project structure, which is the default in IntelliJ. Switching to the Maven standard and synchronizing all build and run settings resolved the error. Java version conflicts : Different configurations in Maven, IntelliJ, and JAVA_HOME led to build errors. After aligning everything to Java 22 and updating the POM, the build is now stable. Status: The foundation for the abstraction layer is in place and ready for further solver integrations. The Commons Math adapter is running ...