Use iter_optim! and solve framework for LDA variational inference