LozioAlce / Double-Coverage-Ambulance-Location-Problem

Implementation of the "Double-Coverage Ambulance Location Problem" in Gekko
0 stars 0 forks source link

Code for double coverage problems #1

Open dongcidaci403 opened 3 years ago

dongcidaci403 commented 3 years ago
微信图片_20210107231508

I want to ask you about the problem of this code. The problem as shown in the figure appears in the operation. How to solve it? thank you!

dongcidaci403 commented 3 years ago

Eq2_constraints = delta @ z_decisionVariable

TypeError: Object arrays are not currently supported (The picture seems to be unable to open, the problem is shown in the above sentence, would you please advise how to solve it)

LozioAlce commented 3 years ago

Hi @dongcidaci403 I am not able to reproduce the issue. I am not an expert on python istallation and debugging. But let's try to figure it out. Which modules have you installed? Which OS? Have you tried with a smaller problem looking at gekko documentation? I have downloaded mine on a new installation of ubuntu 20.04 and works as usual.