Fixes to simultaneous B and B optimization: initialized from trajectory-optimized profiles; initial values for optimization properly set