add complete documentation for TM Optimizer