Originally posted by: CamilaSalles
Hello,
Could someone help me with this?
I am printing a result and I do auxiliary for calculate the end result, in this calculation I do multiply with a parameter, but I receive a message:
"Unbound Expression".
float pTempoViagemPorGrpPrd_H[<PONTO_ORIG,PONTO_DEST,GPR_PRD,TIPO_FROTA> in sFluxosPorGrpPrd, PERI in sHorizonte]
= pAuxTempoViagemPorGrpPrd_H[<PONTO_ORIG,PONTO_DEST,GPR_PRD,TIPO_FROTA>,PERI]
+
sum( <PONTO_ORIG,CLASSIF,PERI,ce,tempoExpedicao_Min,pe,cr,tempoRecebimento_Min,pr> in sCapacidadeExpedicao,
<CLASSIF,GRP_PRD> in sClassifXGrupoProduto )
( tempoExpedicao_Min + tempoRecebimento_Min ) / 60;
float auxTempoViagemPorGrpPrd_H[<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA,PERI> in dTransporte] =
sum(<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA> in sFluxosPorGrpPrd,PERI in sHorizonte)
pTempoViagemPorGrpPrd_H[<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA>,PERI];
//ERROR APPEARS HERE
float exsUtilizacaoFrotaTransp[<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA,PERI> in dTransporte]
= ( vNumeroViagens[<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA,PERI>]
* // Tempo de viagem por grupo de produtos
auxTempoViagemPorGrpPrd_H[<PONTO_ORIG,PONTO_DEST,GRP_PRD,TP_FROTA,PERI>]
)
/
(pInfoHorizonte[PERI].diasPeriodo * TP_FROTA.quantidade_Hdia );
I will be gratefull for help.
#ConstraintProgramming-General#DecisionOptimization