Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

573
Views
Anylogic error "the constructor is undefined" in a resource pool

I was trying to do a simulation of distribution center model using the tips from anylogic to our own, cause they work in similar ways but diferent products and warehouses, so the thing is when a truck came to our center we have to unload in a determinated area thats why we use the "Muelle" agent to determine all the parameters involved in this operation, and when we call this new recourse unit in the resource pool for the unload process the error appears

Code use in a resource pool:

I got the same problem y two resource pool's

Problems

Im relatively new in this program and dont know how to fix this cause for the java description, i tought the variable was already defined cause i name it and was giving every value for each parameter so i dont understand. I attach the file so if someone requires and can inquire more to solve this ill appreciate it so much https://drive.google.com/file/d/1uBQyLr_LyjN9J07y_J_44ha4CSskVP8y/view?usp=sharing

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

If Muelle is an agent, you cannot create/instantiate them like Java objects (i.e. new Muelle(...).

You must use the agent constructor that AnyLogic provides: For every agent population, you get add_myPopulation(...) and remove_MyPopulation(...) methods. You must use those.

So create an empty (?) agent population and use that. Then, call add_MyPopulationOfMuelle(...)

Check the help for more info on agent creation and populations

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!