Solve

Solves for all the containers. Implements the point generation construction heuristic.

>>> from hyperpack import HyperPack
>>> problem_data = {
>>>     "containers": containers,
>>>     "items": items,
>>>     "settings": settings
>>> }
>>> problem = HyperPack(**problem_data)
>>> problem.solve()
  • Populates self.solution with solution found for every container.

  • Populates self.obj_val_per_container with the utilization of every container.

An extensive description can be found in reference

This method cannot produce quality solutions. It is utilized by local_search and hyper_search in higher level operations.