This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision Next revision||Previous revision|
solver:enforce_gams_cplex_to_calculate_marginals_dual_values_for_qcp_models [2017/03/09 18:01]
|Line 1:||Line 1:|
|-||====== Enforce GAMS/CPLEX to calculate marginals (dual values) for QCP models ======|
|-||By default GAMS/CPLEX calculates marginals for a model with a quadratic objective and linear constraints. Furthermore, GAMS/CPLEXD calculates marginals for a model with a quadratic objective and quadratic constraints. Sometimes some presolve reductions prevents the calculation of marginals. To turn off those presolve reductions and enable the calculation of marginals you can use the following option: "calcqcpduals 2", for example, in the following way:|
|-||model m /all/;\\|
|-||$echo calcqcpduals 2 > cplexd.opt \\|