mpopt2qcqpopt
- mpopt2qcqpopt(mpopt, model, alg)
mpopt2qcqpopt()- Create/modifyqcqps_master()options struct frommpopt.QCQPOPT = MPOPT2QCQPOPT(MPOPT) QCQPOPT = MPOPT2QCQPOPT(MPOPT, MODEL) QCQPOPT = MPOPT2QCQPOPT(MPOPT, MODEL, ALG) Uses a MATPOWER options struct, MPOPT, to create or modify a QCQPS_MASTER options struct. Inputs (default values in parentheses): MPOPT : MATPOWER options struct MODEL ('QCQP') : (optional) one of the following model types, required for selection of solver in case ALG is 'DEFAULT' (solver precedence for each model type list in parentheses): 'LP' - linear program, see MPOPT2QPOPT 'QP' - quadratic program, see MPOPT2QPOPT 'QCQP' - (default) quadratically-constrained quadratic program (IPOPT, Artelys Knitro, fmincon, MIPS) ALG ('opf.ac') : (optional) 'opf.ac', or any valid value of OPT.alg for QCQPS_MASTER. The first option indicates that it should be taken from MPOPT.opf.ac.solver. Output: QCQPOPT : an options struct for use by QCQPS_MASTER and friends
See also
qcqps_master(),mpoption().