I am presently working on converting a large AMPL/CPLEX model so I can
learn how the model works and also to compare the execution times with
CPLEX. I have managed to fix most of the obvious problems but I have a
couple of issues that I need to ask for help from the GLPK experts.

The first one is a syntactical one:

Here is the AMPL code:

var BP >= 0;
BP  = sum {t in DAYS, Cid in BANKING_CONTRACTS} (DBQ[t,Cid] +
DWQ[t,Cid]) * 0.0001 

This code fails with "BP multiply declared" error.

I thought it may have been an AMPL defined variable but I have tried a
number of different formulations using the WikiBook as a guide but
havent had any success.

Any ideas?

Regards,

Harley

-----
  Dr. Harley Mackenzie
  HARD software

  [email protected]
  www.hardsoftware.com
  + 61 3 5222 3435


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to