Questions tagged [logistics]

Logistics refers to the overall process of managing how resources are acquired, stored, and transported to their final destination. The "how" often includes an optimization aspect: many "ways" are possible, and we must choose one that is "best" (or, due to limitations, at least "good enough") in some sense.

91 questions
1
vote
0 answers

Active indications of generated polyline API Google optimizations

I have a flutter app that reads a json created in Google optimization API, I draw the polyline and some markers in a Google maps in flutter, but I want to start navigation indications with the exact same polyline, I try to send the waypoints to…
1
vote
1 answer

handling infinite supply in minimum cost flow problem

I got a typical problem about minimum cost flow problem. I'm given a dataset # node : {pos, demand} nodes_dict = {1: {'pos': (0, 0, 1), 'demand': 'NA'}, 2: {'pos': (0, 3, 1), 'demand': 'NA'}, 3: {'pos': (0, 6, 1), 'demand': 'NA'}, 4: {'pos': (4, 0,…
1
vote
0 answers

How to allocate list of orders to tranposrt with constraints

I have a DataFrame with order number, weight and pallet equvivalent. order # pallets weight 0 31785053 1.0 174.0 1 31785071 1.0 45.0 2 31785044 6.0 8300.0 3 31827117 7.0 9684.0 4 31827228 1.0 1404.0 I…
eeealesha
  • 33
  • 6
1
vote
0 answers

How do I solve the model in Python Pulp?

I hope you are doing well. I am currently teaching myself Python and I've ran into a snag with Pulp. I am struggling to solve the model. Any help would be much appreciated with solving this. Scenario: You are consulting for kitchen oven…
1
vote
0 answers

Plot conditional logistic regression with spline term

Hi friends in stackoverflow, I am trying to plot the conditional logistic regression with spline using R (similar graph below but using conditional logistic regression). I haven't found good way to do this. Does anyone have ideas? Thanks a…
1
vote
2 answers

How can I find the right size box for each product?

I am sorry for re-uploading this quesiton, but I really want the answer. Kindly allow me to ask this question again and hope your kind support. The question is to find the right size box which allow the logistic business to save the money when…
Sean
  • 51
  • 5
1
vote
1 answer

Is there an easy way to calculate the required carton for an order with products?

For my order-system I need to determe which carton I need based on the order. For example: Order A has 3 items: 1x ProductA (size 15x10x5cm ) 2x ProductB (size 20x10x5cm ) Order B has 2 items: 1x ProductA (size 15x10x5cm ) 1x ProductB (size…
Bjorn T
  • 33
  • 8
1
vote
2 answers

Any equivalent function of "logistic" from Stata from R?

I am trying to do some logistic regression, and having heard that the command logistic in Stata can be used to present the coefficient on the OR scale, and logit for the same thing in ln(OR) scale. Is there anything equivalent for R? I used glm and…
lokheart
  • 23,743
  • 39
  • 98
  • 169
1
vote
5 answers

Upload naming convention

I'm creating a survey in which users can upload about 6 pictures. What would be the best way for me to store these in the file system? Users can do multiple surveys (thus tracking their improvement over time)...so that means I can't just name them…
Kevin Brown
  • 12,602
  • 34
  • 95
  • 155
1
vote
1 answer

How to convert array/object of order data to EDI 850 format?

I need to build an integration process between a website (Magento in this case) and a warehouse/logistics API. The warehouse needs to get the data as EDI (850 for order-requests, other numbers for other things). I know how to prepare the data in…
Pini
  • 429
  • 7
  • 26
1
vote
1 answer

Upscaling a sigmoid result?

I'm confused about how to upscale a sigmoid result the right way. for example the input for my NN is between 0,10. I scale this to be between -4,4 as the active input range for sigmoid and i get a result of lets say 0.83201. Now i want to rescale…
Rottjung
  • 493
  • 1
  • 5
  • 15
1
vote
3 answers

Scheduling Students to Classes

I am making a website for a side project at school where students enter the classes they need to take, what days they want or don't want classes, and when they cant have or don't want classes. The basics are there are classes, and each class has…
scottarver
  • 23
  • 4
1
vote
2 answers

Open Source Reporting and Analytics for PHP (Logistics)

We're a small logistics company and want to be able to provide clients with a way to generate custom reports with their data in our shared database (limited by the relations built in the DB) as well a few standard reports that we will build for…
DavidScherer
  • 863
  • 1
  • 14
  • 26
1
vote
1 answer

python scipy using fmin_bfgs for logistic regression

I use the formula below as my hypothesis: And the formula below as the cost function: So the object function I try to minimize is : And the gradient is: the csv file is formatted like: y0,x1,x2,x3,... y1,x1,x2,x3,... y2,x1,x2,x3,... y is either…
lhdgriver
  • 315
  • 1
  • 3
  • 17
1
vote
1 answer

What does glmnet on binary data model (P=1 or P=0)

I am running the following elastic net model on binary data (1=bad, 0 = Good). Does anyone know what type of model does glmnet fit by default: P(y=1) or P(y=0). Is there anyway to choose the former to fit the model. cv.glmnet(x, y,…
Dee
  • 49
  • 2
  • 5