Comments (6)
Will check. Give me some days :-)
from xflp.
Hi,
Any updates on this ?
from xflp.
Just a question to your example:
Packet1 is loaded at location1, correct?
Then I would expect, that you used "setUnloadingLocation()" method...
For real I need to check, if this function still works. :-D I used xflp in the past for VRP optimization, but then used it more and more in normal load planning. So, need to check, where I moved the loading/unloading thing.
The ordering of loading and unloading must be done by the input. XFLP is no inverse-VRP, which solves the question "Which sequence of loading and unloading would be necessary that all items can be loaded."
from xflp.
Hi,
We are already using a VRP and have the order in which the items must be unloaded. So we already know the unloading locations. We need to now set the unloading locations on the material for which we tried to use the "setUnloadingLocation()" method. This however did not give the required result we got the coordinates as 0,0,0 for all the packets. Please check this once if this method works otherwise is there any other alternative that can be used to set the ordering of the input?
from xflp.
Okay, you are right. Here got something lost in the past :-D
But!!!
Reason: Currently, XFLP is creating for every given item 2 new items: 1 x loading item and 1 x unloading item. Both ones are directly one after another, which leads to the situation, that the algorithm is only loading and unloading each item in sequence. LOAD1, UNLOAD1, LOAD2, UNLOAD2, ...
I will try to fix this.
from xflp.
Hi,
I created a branch "Fix-Locations" for your issue, which should fix the issue. So, thanks for your hint. :-)
Important is, that the 'location' must be sortable to show the algorithm the sequence of visits. And yes, a location is a visit. Hence the algorithm cannot identify, when a certain location is revisited.
This example here is not working, as you designed the problem so, that only 1 item can be loaded.
XFLP xflp = new XFLP()
xflp.setTypeOfOptimization(XFLPOptType.FAST_FIXED_CONTAINER_PACKER)
xflp.getParameter().setLifoImportance(1)
xflp.addContainer().setLength(13500).setWidth(25).setHeight(30).setMaxWeight(25000000)
xflp.addItem().setExternID("Packet1").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("1").setUnloadingLocation("5")
xflp.addItem().setExternID("Packet2").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("2").setUnloadingLocation("3")
xflp.addItem().setExternID("Packet3").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("4").setUnloadingLocation("6")
xflp.executeLoadPlanning()
var report = xflp.getReport()
assert report.getUnplannedPackages().size() > 0
XFLP xflp = new XFLP()
xflp.setTypeOfOptimization(XFLPOptType.FAST_FIXED_CONTAINER_PACKER)
xflp.getParameter().setLifoImportance(1)
xflp.addContainer().setLength(13500).setWidth(25).setHeight(30).setMaxWeight(25000000)
xflp.addItem().setExternID("Packet1").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("1").setUnloadingLocation("5")
xflp.addItem().setExternID("Packet2").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("2").setUnloadingLocation("3")
xflp.addItem().setExternID("Packet3").setLength(135).setWidth(25).setHeight(30).setWeight(25000).setLoadingLocation("6").setUnloadingLocation("7")
xflp.executeLoadPlanning()
var report = xflp.getReport()
assert report.getUnplannedPackages().size() == 0
Is this helping you?
from xflp.
Related Issues (20)
- Performance - Projection of positions HOT 1
- Unable to build project HOT 1
- Spaces for AddRemove HOT 1
- Documentations HOT 1
- Update to Java 17
- Permissible Axle Load HOT 1
- Could you specify the reference paper you used to implement this project? HOT 1
- Failing test
- your opinion about port it to PHP 8.2 HOT 3
- maxNbrOfContainer is not working for NContainerOntTypeAddPacker HOT 2
- NContainerOneTypeAddPacker#execute may cause OOM HOT 1
- output HOT 1
- Update licence and copyright HOT 1
- Tests are not running HOT 2
- Add parameter for single stacking HOT 2
- Performance - bearing propagation
- Performance - Spaces
- Performance - Prevent duplicate positions in AddRemove HOT 1
- BestFit Algorithm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xflp.