(For developers) User-defined algorithm and solver

py2dmat solves the reverse problem by combination of Solver for the direct problem and Algorithm for the optimization problem. Instead of some Solver and Algorithm which are served by py2dmat, users can define and use their own components. In this chapter, how to define Solver and Algorithm and to use them will be described.