When I tried to export the Yalmip model to the cplex standard form, I found that the constraints lb <= x <= ub, has been recognized as the constraints Ax<=b, as a result, the lb, and ub in the exported model are empty. Is it possible to handle this issue?
optimize([model.Aineq*x_kkt <= model.bineq,model.Aeq*x_kkt == model.beq],0.5*x_kkt'*model.H*x_kkt+model.f'*x_kkt)
value(x_kkt)
Thank you professor.
Actually, I found that the kkt command was effective for small-scale problems. When I proceed the kkt command on a large-scale problem, containing 48 binary variables and 5200 other variables, it fails to derive the KKT system with kkt command in 2-hour computation time.