Lattice Grid Buy a licence

Gantt ยท console.warn

gantt: resource leveling hit its {n}-iteration cap with {m} over-allocation(s) unresolved; returning the partial result.

Printed by Gantt, prefixed [lattice], since 1.38.0.

Warnings referencegantt-level-unresolved

Identifier
gantt-level-unresolved
Raised by
Gantt
Since
1.38.0

What happened

The leveller delays tasks one at a time and re-schedules after each move; it stopped at its iteration cap with over-allocations still outstanding. The result it returns is real but partial: resolved is false and the remaining over-allocations are listed. It is not an error - the plan may simply be over-constrained.

The fix

Raise maxIterations, add capacity, or relax the constraints that stop tasks moving. The returned remaining array names what is still over-allocated.

The smallest fix

gantt.level({ maxIterations: 500 });

Reference

Covered in full at the API reference.