« first day (3448 days earlier)      last day (1517 days later) » 
05:00 - 15:0015:00 - 19:00

3:00 PM
Isn't that just a variation of A*?
not sure as I've never sat down to study algorithms in depth
fairly certain the mathematical concept of that is called "The travelling salesman"
 
for finding routes, I would use something like A*
for organizing the warehouse for optimal position of the resources, that is something ML could be good at
 
so id start googling for neural network travelling salesman, see what pops up
 
Yes, i found somethings about that. The problem i'm facing is that i have more criterias than just the closest place with the correct product. It's also has to be based on amount left, durationdate, etc
Right of today i have manually "weighted" each property to a value of how each property matters
but this doesn't seem like the best solution
 
3:22 PM
Yeah your weightings would benefit from machine learning
but ive never done ML so that's where my knowledge ends
 
Simple explanation: Give your learning machine all these variables, tell it that the time it takes for one run is supposed to be shorter, and then let it just run. Need a virtual warehouse of course, unless you want to let it run a few centuries.
I don't understand the specifics either, but basically that is how it works
 
one should find out what you want to achieve with it
I sense that these weightings are not that simple
 
Let it do a few thousand/million runs with the info "short time == better), and see what happens
 
for supplies, all that matters is the time it takes for the supplies to reach the requester
 
The learning machine will figure out each variables weight itself
 
3:28 PM
this could affect the times of other requests tho
and keeping that in mind, ML is quite difficult
 
Not if you assume every new request starts at a single entrance to the warehouse
 
yes
even then
 
Oh ML is hella difficult, i have no idea how to implement any of the stuff I'm saying
I jsut know a guy who works with ML
 
consider a resource A
there are two providers P1 and P2
P1 has 100 resources and a distance of 100
P2 has 1000 resources and a distance of 500
if you request 200 resources, they should all come from P2, right?
that leaves other requests able to request from P1
 
No
(Unless your carrier can carry more than one unit)
 
3:30 PM
the request of 200 will only be served as fast as the resource from P2 can reach it
 
Depends
 
 
well... true, if you also consider carriers with throughput and capacity, it becomes a bit more difficult
 
Let's you need 1 minute for a distance of 100u (units)
 
Problem is that the time for two different places could be the same, although one is way better to pick from. For example lower duration date
 
3:31 PM
what is duration date?
 
200 units of ressource directly from P2 need 200m*500u
100 from P1 and 100 from P2 means 100m*100u+100m*500u
 
Oh, yeah i mean expiredate
 
@Feeds XKCD levels are going down extremely fast. Damn, Covid19 got them too
 
It's not the distance that is so important, rather number of places to go to to pick the ordered amount
 
@Zacharias you could use ML to define the priority of pickups
 
3:33 PM
Yeah, i'm trying to get my head around how the input neurons would look like
 
and ML would be quite a good candidate for a solution
 
Wait are you doing a quiz?
 
but you will need a LOT of variables
 
@HéctorÁlvarez me?
 
We're discussing the best way of solving something with ML, without knowing how to ML.
 
3:34 PM
depending on the expiry date? do you just ignore duration of delivery then?
 
@Squirrelkiller Oh.
 
in that case, it is quite simple, but I think you dont want to do that
you have to keep in mind the rate of the sales of that particular resource
 
I still like my origina lsuggestion though:
1) Tell the machine what variables there are
2) Tell the machine what the result is
3) Let it rip for like a month
 
depending on that, it might make sense to pick up resources that still have 3 weeks until they expire or it wont matter because you sell 3 times your supplies in those 3 weeks
 
ignore duration of delivery? sorry i dont follow
 
3:35 PM
*Or a week
*or a weekend
 
@Squirrelkiller but you have a lot of variables
and I dont mean like... 20 or something
I mean like... 100-200
to do a nice computation of a value model would take decades
 
What kinda variables are those?
Seems extreme, but I'm not sure what variables you mean here
 
Basically, i have a order with multiple products. In the warehouse i have multiple hundres of places with products on. Based on this i want to generate a picklist of places to go to. this list has to be the most efficiant route, based on properties like amount, expiredate, level over floor (products are stacked)
 
keeping in mind the rate of sales by location and period, maximum supplies of warehouses compared to the maximum supplies of the total, new delivery of supplies for warehouses, accessibility of warehouses from different locations, etc, etc, etc
frequency and scale of sales
@Zacharias you have one warehouse?
 
yes
 
3:39 PM
and how big is it?
as an estimation
 
its not really big at all. Around 700 places, each fitting a pallet
 
and you have supplies of the same resource in different places?
 
yes
product A can be on multiple places
 
at that point, there is little value in smaller distances
 
well, not my choice, but my customer
What is values is pick from same zones, least number of different places to go to to pick the same product etc
valued*
 
3:43 PM
good afternoon
 
I have to assume that this is a school assignment
 
@AvnerShahar-Kashtan heeeey
 
nah, real life
 
How's life treating you?
 
hmm...
 
3:44 PM
I really miss your stories, still remember the automatic pizza
 
Not too bad, all things considering.
The four of us are dealing with staying inside the house pretty well.
 
I would highly question the "value" in picking from same zones
 
you have to walk less between zones?
its a shelving system
 
no, for that, you need to get the most optimal route, starting from S and having passed all points P
but walking less should not be of great importance
 
Well, if to get into each zone requires moving a big ass shelfe, it is
which takes time
 
3:46 PM
if you really want to improve that, you could use ML to find patterns in sales, finding out which resources are being ordered at the same time and make their supplies near each other
the situation sounds extremely overly complicated, and management wants to put a patch on some stuff without realizing what they should focus on to actually solve the problems they have
 
I agree.
 
but yes, you could train a neural network for it
 
But since my manually weighted algoritm now somewhat works, i thought maybe this could be done with ML
 
but as I said, you have to take a ton of variables into consideration to find a potentially optimal set of weighting values
most of the variables, I cant even think of atm
only the ones that are quite obvious are the ones that I mentioned earlier
 
V.7
Microsoft's Office.Interop documentation sucks.
... Some random Interop comment: "... Someone begrudgingly put those libraries out there, probably hated every minute of it and wants anyone that uses them to feel their pain..."
 
3:54 PM
Easy: Don't use office interop
Would you be so kind as to explain your actual problem so we may XY the hell out of it?
Also: Make a csv with .WriteAllText and send that to Excel.
 
@Zacharias @Wietlol isn't that precisely the traveling salesman problem? Or am I missing something...
 
@BlackSquirrel not really
considering zoning isnt a thing, yes, it would be
but because it is...
 
V.7
@Squirrelkiller
For example, that's how buttons is being added: https://stackoverflow.com/a/14863510/5113030
Is it possible to check somehow if such buttons with specific name already exists?
Microsoft's documentation about Interop is just ... empty.
 
You don't need the interop docs. You need the Excel object model docs.
The interop libraries are simply wrappers.
 
When I see "ML" I still think "Machine Language"
 
V.7
3:58 PM
 
I would argue that the wrapper should encapsulate its backing technology and still expose some documentation about how you should use that particular wrapper
 
I don't even know Machine Language. I took one class in it in college
 
even if that documentation is just a link to the backing technology's documentation
 
@Wietlol You could argue, but you'd be arguing for argument's sake.
 
I would argue for my autism
 
3:59 PM
The Office object model is huge. Replicating it, in its entirety, just for the documentation of a wrapper/binding for .NET applications makes no sense.
 
also, I am spoiled with Java docs, so pretty much everything else sucks...
|| shrug
 
¯\_(ツ)_/¯
 
¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯
 
well done
 
\o/
 
V.7
4:01 PM
s(._. )z
 
its obviously behind the others guys head
 
ye... sure
 
tadaaa
 
MAIQ
 
now they are all friends
 
4:03 PM
a list of zones to visit, that I must visit in the most efficient order by distance... Yeah I think it is. So dollop sugar weighted by frequency of purchase in each zone, drop an ant farm in the corner of the warehouse and wait a bit, they'll solve it for you. You're welcome.
 
the fuck made you an ro
jk welcome
 
V.7
@Hans1984 Btw, an OST in Alice In Wonderland(2010) is very beautiful
 
:)
@MikeTheLiar I already was IProxy<IRoomOwner> so... might just as well implement IRoomOwner directly
 
Is it ?
never listened to it
but the movie is good
Johnny depp is great
 
V.7
^
 
4:04 PM
@BlackSquirrel except... you dont have to visit all zones
you only have to visit zones by type and capacity
 
the two pc games are great too
 
each zone is of a particular type and has a particular capacity
 
but the book is still the best of course
 
I need to visit all the zones that have a product I need
 
you are given a list of types and demanded amount, you have to visit zones of each type, consuming the capacity of the demand
so, considering you have zone A, B and C (A has 100 capacity, B has 200 capacity and C has 300 capacity)
if your demand is <= 100, you could visit A, B or C
 
4:07 PM
But B might be closer
 
if your demand is 100<demand<=200, then you have to visit B or C
if your demand is 300, then either C or A and B
also, supplies at C might be further away, but have higher priority of consumption
because of expiry dates
 
V.7
@AvnerShahar-Kashtan May I ask you where to search for its methods/objects/etc?
 
travelling salesman is just "visit all these places in the fastest way"
this problem has a few more factors than a distance graph
@Zacharias you could make the distance between resources in different zones bigger
that would favor resources in the same zone
 
4:21 PM
I'm halfway through listing the methods in a model I wrote 4 years ago, needless to say, it's awful :'(
 
@V.7 Last time I wrote Office code it was still on MSDN, but I think the new location is this: docs.microsoft.com/en-us/office/vba/api/overview/excel/…
 
bye guys
\o
 
V.7
Yeah, already seen that, but it has nothing related to a question v(._. )s
@Hans1984 o/
 
4:44 PM
o/
 
You're using the Microsoft.Interop libraries? I believe the VSTO libraries (Microsoft.Office.Tools.* namespaces) are newer and better documented.
(Disclaimer: the last time I did serious work with Office interop must have been around 2013 or so)
 
4:58 PM
Check out the Buttons class's Item(object) method.
That should retrieve an item given its... key? Try passing in the name and see what you get back.
 
 
2 hours later…
6:49 PM
howdy, anyone here ever use the c# datetimeoffset type?
 
05:00 - 15:0015:00 - 19:00

« first day (3448 days earlier)      last day (1517 days later) »