Skip to content

Same Value Of 2 Rectangle = No Results #35

@arncode90

Description

@arncode90

Im getting nothing from the same rectangles =
(4, 4),
(4, 4)

But its working if im using =
(4, 3),
(4, 4)

import rectangle_packing_solver as rps

# Define a problem
problem = rps.Problem(rectangles=[
    (4, 3),
    (4, 4),
])

print("\n=== Solving without width/height constraints ===")
solution = rps.Solver().solve(problem=problem, show_progress=True)
print("solution:", solution)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions