User Tools

Site Tools


solver:enforce_gams_cplex_to_calculate_marginals_dual_values_for_qcp_models

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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]
admin
— (current)
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/;\\ 
-m.optfile=1;​\\ 
-$echo calcqcpduals 2 > cplexd.opt \\ 
-option qcp=cplexd;​\\ 
-''​ 
- 
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY solver/enforce_gams_cplex_to_calculate_marginals_dual_values_for_qcp_models.1489078881.txt.gz ยท Last modified: 2017/03/09 18:01 by admin