optimization state is now complete