
Review of the past two weeks
During the last two weeks, I changed the upper and lower bounds to box constraints, which can allow us to specify box bounds for each variables.
1 | using BoundaryValueDiffEqMIRK, OptimizationMOI, Ipopt |
But I noticed some incompatiable things in the process of optimization, especially during the initialization, the Ipopt did not properly exploit the exact sparsity pattern of the problem, I suspect it’s mostly an Optimization.j problem, I will dig deeper to see what’s going wrong.
Some other maintainence works are as follows: The optimization package Optimization.jl has released 4.0.0, which has integrated solve
dispatches in OptimizationBase.jl so we should also include OptimizationBase.jl to include these dispatches, which is proposed in Use solve from OptimizationBase. Allowing specifying upper and lower bounds in BVProblem
, changes proposed in PR Add lb and ub for BVProblem.
TODOs in next two weeks
In the following two weeks, there are a few TODOs:
- Finalize the interface for optimal control problems, make the solving process converging.
- Finalize a suitable convention for the cost function in formulating optimal control problems, mainly about the interpolating and integral of control variables.