An Amazon employee is seen loading boxes into a delivery vehicle
To make package deliveries more effective, Amazon researchers drew from the vehicle routing problem, which builds upon the traveling salesman problem, one of the most popular combinatorial problems among the operations research community.

The science behind grouping package deliveries

How Customer Order and Network Density OptimizeR (CONDOR) has led to improved delivery routes.

In 2018, Rohit Malshe, an Amazon principal scientist, looked across the street from his home in Portland, Oregon, and spotted two trucks delivering Amazon packages to neighboring houses.

Malshe and his colleagues within Amazon Logistics (AMZL) Research Science and Amazon’s Supply Chain Optimization Technologies (SCOT) organizations had already started developing new methods to synchronize deliveries to neighboring locations. The goal: to avoid situations similar to the one he just observed — multiple trucks visiting the same area on a given day — to improve deliveries and reduce costs.

Related content
How the Amazon Logistics Research Science team guides important decisions related to last-mile delivery.

Important advances had been made by that time. Around 2017, scientists developed a method to group packages delivered to the same address on the same day. When that succeeded, the algorithm expanded to whole buildings.

“Those local optimizations were tackled first, and we solved them rather quickly,” says Malshe.

The next step: develop the concept of a stop consolidation — a chain of addresses linked by a small road segment. For example, a small group of houses in a cul-de-sac may be grouped together and, if two of them order items that will be delivered on the same day, the system will attempt to combine these deliveries into a single truck.

Focusing on the route

Following these initial advancements, AMZL and SCOT scientists turned their attention to optimizing shipment assignment and delivery systems by focusing on the routes.

“Instead of considering one address or building at a time, one should consider all demand assigned to a route, the time spent delivering, and the geographical blocks assigned to a route,” says Andrea Qualizza, a SCOT senior principal scientist.

The researchers drew from the prize-collecting vehicle routing problem (PCVRP), which builds upon the traveling salesman problem (TSP), one of the most popular combinatorial problems among the theoretical computer science and operations research communities.

Related content
Team Passing Through, with three academics working together, earns $100,000 first prize.

“In the TSP, you just want to find the optimal way — or the shortest possible route — to traverse a certain number of locations,” says Weihong Hu, a SCOT senior applied scientist. But as the number of destinations rises, the number of possible routes surpasses the capabilities of even the fastest computers.

For example, in a scenario with 10 destinations, there can be more than 300,000 possible routes. If the number of destinations increases to 15, the number of possible routes expands to more than 87 billion.

The PCVRP is a more challenging variant of the TSP. Imagine a scenario where there are packages sitting at each customer’s door and you send a driver to pick up all the packages they can within a certain time interval. Every package collected adds a “prize” that is equivalent to the cost of assigning that package to a third-party carrier.

“For every package assigned to AMZL, you collect a reward, but you are also spending your time and truck space to do so,” says Malshe.

Deploying CONDOR

The team iterated on this approach over the past couple of years, developing a new algorithm: Customer Order and Network Density OptimizeR (CONDOR).

Qualizza notes that CONDOR solves a problem even harder than the PCVRP: simultaneously determining how orders are split into shipments and the sourcing fulfillment center for each shipment.

“This project uses a combination of various techniques,” says Qualizza. “There is mathematical optimization, local search, capacitated vehicle routing problem solvers — all of that came together because these techniques considered various aspects of the problem and linked them very naturally with the way our systems work."

The breakthrough of CONDOR, Qualizza notes, is its ability to determine the right tradeoff between the levels of complexity and optimality.

While the problem involves a high number of possible decisions per geographical block, the program reduces that number to less than 10 per block.

“You're losing some optimality, but at the same time, you make the problem tractable,” he says. “The key is squeezing enough bits of utility from the current data when it is processed and considering it all together to achieve meaningful improvements.”

Once confident with the prototype, Malshe says, the scientists tested it in production, working side-by-side with engineers to make that happen. In one of the tests performed — a crossover experiment — a few selected cities were divided into two groups: one of them used the new program, and the other didn’t.

That experiment determined that use of CONDOR resulted in roughly 0.5% fewer routing resources required.

“That means that if the whole network needs 50,000 routes without CONDOR, with CONDOR we should need just 49,750 routes,” says Malshe. Applied over Amazon’s extensive trucking network, the potential gains could be enormous.

CONDOR started running in a few delivery stations in January, and expanded to more locations this spring. Now it is deployed across the entire United States, and there are plans to deploy it in other countries within the next few months. The research behind the new program was presented at the 2021 INFORMS Annual Meeting.

How customers benefit

When a customer places an order on the Amazon store, Amazon immediately reserves inventory for it. Within minutes, Amazon’s logistics models evaluate thousands of options for fulfilling the order. Fulfillment location is one variable: a single warehouse may assemble the order if it has all the items; if not, the order can be split into multiple shipments. Amazon also reserves capacity within its transportation network to ensure the order can be delivered on time.

An Amazon employee is seen scanning packages, there are pallets of boxes behind him
Customer Order and Network Density OptimizeR (CONDOR) has led to improved delivery routes by assessing and reassessing customer orders, before they leave a fulfillment center, to identify effective delivery options.

At that point, a decision is made about how the order will be fulfilled, but it won’t necessarily be the final one. There will be opportunities to revisit the decision before the shipment process starts. If a neighbor places an order later that day, for example, the logistics plan may be updated so that the same carrier delivers both orders.

Different programs may work together to make all of that happen. One program will consolidate orders by the customer’s address, for example, so that a carrier visits the address only once if possible. Another will consolidate the orders by buildings and another by groups of buildings.

Related content
Pioneering web-based PackOpt tool has resulted in an annual reduction in cardboard waste of 7% to 10% in North America, saving roughly 60,000 tons of cardboard annually.

CONDOR takes that to the next level by looking at the entire geographic area that a delivery station serves. Every once in a while, the decisions are reevaluated to ensure routes are optimized. From the time a customer places an order to the time it starts being processed by a fulfillment center, it could be five or six hours. During that time span, the CONDOR code might reassess the order three to four times, providing many opportunities for further optimization.

The team estimates that this year alone, CONDOR will help avoid millions of miles driven, boosting sustainability.

“We can enable carriers to deliver more packages to more customers on time, while reducing miles driven and carbon emissions from fuel,” Qualizza says. “That is the essence of CONDOR; it revisits all those decisions and finds those opportunities for us to further delight customers.”

Related content

US, WA, Redmond
Amazon Leo is Amazon’s low Earth orbit satellite broadband network. Its mission is to deliver fast, reliable internet to customers and communities around the world, and we’ve designed the system with the capacity, flexibility, and performance to serve a wide range of customers, from individual households to schools, hospitals, businesses, government agencies, and other organizations operating in locations without reliable connectivity. Export Control Requirement: Due to applicable export control laws and regulations, candidates must be a U.S. citizen or national, U.S. permanent resident (i.e., current Green Card holder), or lawfully admitted into the U.S. as a refugee or granted asylum. We are looking for an experienced Data Scientist to help architect state-of-the-art test infrastructure and lead the development of data models and analysis tools to represent the ground truth about satellite test results in order to facilitate important business decisions. Our team is responsible for core infrastructure and tools that will serve as the backbone of automated satellite testing operations to enable rapid scaling of manufacturing processes. Key job responsibilities * Work with engineering, software and manufacturing teams to understand drivers, impacts, and key influences on satellite performance * Lead the design, build and implementation of production models and make decisions in real time for satellite test results * Drive actions at scale to optimize test methodology and drive increases to satellite reliability * Analysis and modeling of satellite telemetry from test results in lab and on-orbit * Develop models and data pipelines for satellite telemetry * Create and manage datasets for continued pre-training and supervised fine-tuning of LLMs * Develop scalable visualizations for analysis of satellite performance A day in the life As Amazon Leo Data Scientist you will own the architecture definition and development of data analysis tools to to aid engineering and production teams in deciding flight-worthiness of each Amazon Leo satellite and historical traceability tools to enable simplified discovery and interpretation of past test data. You will work with multiple engineering, software and manufacturing teams across ground and space systems, to specify requirements, define data collection, interpretation strategies, data pipelines and implement data analysis and reporting tools for Integrated Vehicle tests. Your focus will be in optimizing the analysis of test results to enable Amazon Leo production plans. About the team The Automated Vehicle Testing Team is a mix of scientists and software engineers responsible for data infrastructure, tools, and research that serve as the backbone of automated satellite testing operations to enable rapid scaling of manufacturing processes.
CN, 31, Shanghai
Worldwide Global Selling has been helping individuals and businesses increase sales and reach new customers around the globe. Today, more than 50% of Amazon's total unit sales come from third-party selection. The Global Selling team in China is responsible for recruiting local businesses to sell on Amazon's 19+ overseas marketplaces and supporting local Sellers' success and growth on Amazon. Our vision is to be the first choice for all types of Chinese business to go globally. The Worldwide Global Selling Analytics, Intelligence, and Technology (WWGS-AIT) team serves as the research, automation, and insight arm of the International Seller Service data hub, enabling rapid delivery of growth insights through strategic investments in regional data foundations, self-service business intelligence solutions, and artificial intelligence tools. The WWGS-AIT team is positioned to establish AI-ready foundational capabilities across the WWGS organization while maintaining excellence in business insight generation, and self-service BI/AI application development. WWGS-AIT is looking for a Data Scientist to design and build seller-facing AI agents that turn our AI-ready data foundation into intelligent, conversational experiences for Amazon's global sellers. You will own the intelligence layer of these agents end-to-end, from modeling and retrieval to evaluation and launch, working alongside applied scientists, data engineers, and the Seller Assistant platform team to put trustworthy AI directly into sellers' hands. Key job responsibilities - Design, build, and iterate seller-facing AI agents (LLM-powered) that help Chinese sellers grow globally, reasoning over WWGS-AIT's AI-ready data foundation and knowledge base. - Develop the intelligence layer of agents: retrieval-augmented generation (RAG) over our knowledge management system, tool-use / function-calling orchestration, prompt engineering, and model fine-tuning or adaptation where needed. - Ground agent responses in standardized metrics and unified seller profiles to guarantee consistency and accuracy across agents; design and enforce guardrails that prevent hallucination and protect sensitive, compliance-restricted data. - Build rigorous evaluation frameworks (golden datasets, offline evaluation, and online experimentation) to measure and continuously improve agent quality, safety, and seller impact. - Develop seller-intelligence models (segmentation, entity resolution / One-ID, ranking and recommendation) that power personalized agent experiences. - Partner with WWGS Tech and the Seller Assistant platform team to productionize agents and tools (e.g., via MCP), defining the model and intelligence contract while engineering operates the runtime. - Collaborate with business, product, and cross-functional partners to translate seller pain points into agent capabilities and measurable business outcomes. - Stay current with advances in GenAI and agentic systems, and bring applied research into production.
US, WA, Redmond
At Amazon, we’re inventing on behalf of customers, and with Amazon Leo, we’re redefining what global connectivity looks like. Our mission is to deliver fast, affordable broadband to unserved and underserved communities around the world through a constellation of low Earth orbit (LEO) satellites. Every system we build helps connect people to education, healthcare, opportunity, and each other. As a Data Scientist, you will be responsible for developing advanced analytics and machine learning solutions for user terminals. You will develop predictive models to proactively identify possible user terminal failures in the field. You will work in a collaborative environment with a multi-disciplinary team, including constellation, RF, antenna, silicon, algorithm, and software engineers. Key job responsibilities As a Data Scientist, you will develop analytic tools for a team developing current and future user terminals. Your responsibilities include: • Develop statistical and analytical tool to enable the regression decision from on-orbit and lab measurement of user terminals • Publish documents and create compelling visualizations and presentations to communicate insights to stakeholders • Create and manage datasets for continued pre-training and supervised fine-tuning of LLMs • Develop scalable visualizations for analysis of user terminal performance • Work closely with constellation, RF, antenna, silicon, algorithm, and software engineers to root-cause the failures using data as the primary tool • Drive consensus on metrics and analysis approaches to support product development strategy Export Control Requirement: Due to applicable export control laws and regulations, candidates must be a U.S. citizen or national, U.S. permanent resident (i.e., current Green Card holder), or lawfully admitted into the U.S. as a refugee or granted asylum. A day in the life As a Data Scientist in the LEO Customer Terminal Team, you will work daily with satellite constellation, algorithm, RF, antenna, silicon, hardware, and software teams in a collaborative environment. Your focus will be using data as an intelligence source to enable design decisions for the team. About the team The LEO Customer Terminal team is responsible for developing both outdoor and indoor devices that enable customers to access internet service via the LEO satellite network. We own the entire process from early prototypes through mass production, including requirements documentation, architecture definition, hardware development, algorithm development, and all integration and verification testing.
US, WA, Seattle
Amazon Web Services (AWS) is looking for a sr. Manager, Applied to join the Quick Science team. Quick is AWS’s enterprise generative AI assistant that helps users answer questions, summarize documents, generate content, take actions, and automate workflows using information across enterprise systems. As a key member of this team, you will lead research and development efforts in generative AI and Agentic AI to enable intelligent agents that perform complex reasoning, automate multi-step workflows, and make enterprise users significantly more productive. Key job responsibilities You’ll work on building and optimizing multi-modal foundation models, training and fine-tuning state-of-the-art LLMs, and architecting systems that scale efficiently across domains. This role blends science leadership, development of applied scientists, innovation, and deep collaboration with engineering teams to bring research into production.
US, NY, New York
MULTIPLE POSITIONS AVAILABLE Employer: AMAZON.COM SERVICES LLC Offered Position: Research Scientist II Job Location: New York, New York Job Number: AMZ9898222 Position Responsibilities: Interact with various software and business groups to develop an understanding of their business requirements and operational processes. Utilize acquired knowledge and business judgment to build scalable machine learning systems, optimization models and operational tools to improve the bottom line. Build quantitative mathematical models to represent a wide range of supply chain, transportation and logistics systems. Implement these models and tools using modeling languages and engineering code in software languages such as Python, C++, or JAVA. Gather required data for analysis and mathematical model building by writing ad-hoc scripts and database queries. Perform quantitative, economic, and numerical performance analyses of these systems under uncertainty using statistical and optimization tools. Create computer simulations to support operational decision-making. Identify areas with potential for improvement and work with internal teams to generate requirements to realize improvements. Design optimal or near optimal solution methodologies to be used by in-house decision support tools and software. Create software prototypes to verify and validate the devised solutions methodologies. Integrate prototypes into production systems using standard software development tools and methodologies. Position Requirements: Master's degree or foreign equivalent degree in Operations Research, Computer Science, Engineering, Mathematics, or a related field and one year of research or work experience in the job offered, or as a Research Scientist, Research Assistant, Software Engineer, or a related occupation. Employer will accept a Bachelor's degree or foreign equivalent degree in Operations Research, Computer Science, Engineering, Mathematics, or a related field and five years of progressive post-baccalaureate research or work experience in the job offered or a related occupation as equivalent to the Master's degree and one year of experience. Must have one year of research or work experience in the following skill(s): (1) programming with a major programming language including Java, C++, C#, C, or Python; and (2) formulating and solving both discrete and continuous optimization problems. Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation. 40 hours / week, 8:00am-5:00pm, Salary Range $158,440/year to $212,800/year. Amazon is a total compensation company. Dependent on the position offered, equity, sign-on payments, and other forms of compensation may be provided as part of a total compensation package, in addition to a full range of medical, financial, and/or other benefits. For more information, visit: https://www.aboutamazon.com/workplace/employee-benefits.#0000
IN, TN, Chennai
As a member of the CMT team, you'll play a key role in the evolution of our Competitive Monitoring systems to solve significantly complex and interesting technical challenges in machine learning, large language models in production, and recommender systems to name a few. The team's work directly impacts customer experience at a worldwide scale. Key job responsibilities Key job responsibilities 1. Research the problem domain and come up with various approaches to solve the problem. 2. Be willing to experiment quickly and fail fast. 3. Collaborate with engineers to come up with the right end to end solution to the business problems. 4. Ideate on future roadmap for science in CMT 5. Be willing to roll up your sleeves and learn core topics outside applied science, for example ML engineering A day in the life A typical day might involve (a) working on ideas for improving models around product similarity or price recommendations, (b) working closely with other scientists and our ML engineers to ensure that the best models are in production, (c) writing good maintainable code that can be reused and reproduced, (d) sharing your work across CMT and beyond via technical writings and presentations
US, CA, Sunnyvale
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video add-on subscriptions such as Apple TV+, Max, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video technologist, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! Key job responsibilities - Develop ML models for various recommendation & search systems using deep learning, online learning, and optimization methods - Work closely with other scientists, engineers and product managers to expand the depth of our product insights with data, create a variety of experiments to determine the high impact projects to include in planning roadmaps - Stay up-to-date with advancements and the latest modeling techniques in the field - Publish your research findings in top conferences and journals A day in the life We're using advanced approaches such as foundation models to connect information about our videos and customers from a variety of information sources, acquiring and processing data sets on a scale that only a few companies in the world can match. This will enable us to recommend titles effectively, even when we don't have a large behavioral signal (to tackle the cold-start title problem). It will also allow us to find our customer's niche interests, helping them discover groups of titles that they didn't even know existed. We are looking for creative & customer obsessed machine learning scientists who can apply the latest research, state of the art algorithms and ML to build highly scalable page personalization solutions. You'll be a research leader in the space and a hands-on ML practitioner, guiding and collaborating with talented teams of engineers and scientists and senior leaders in the Prime Video organization. You will also have the opportunity to publish your research at internal and external conferences.
US, CA, Sunnyvale
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video add-on subscriptions such as Apple TV+, Max, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video technologist, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! We are looking for a self-motivated, passionate and resourceful Applied Scientist to bring diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. You will spend your time as a hands-on machine learning practitioner and a research leader. You will play a key role on the team, building and guiding machine learning models from the ground up. At the end of the day, you will have the reward of seeing your contributions benefit millions of Amazon.com customers worldwide. Key job responsibilities - Develop AI solutions for various Prime Video Search systems using Deep learning, GenAI, Reinforcement Learning, and optimization methods; - Work closely with engineers and product managers to design, implement and launch AI solutions end-to-end; - Design and conduct offline and online (A/B) experiments to evaluate proposed solutions based on in-depth data analyses; - Effectively communicate technical and non-technical ideas with teammates and stakeholders; - Stay up-to-date with advancements and the latest modeling techniques in the field; - Publish your research findings in top conferences and journals. About the team Prime Video Search Science team owns science solution to power search experience on various devices, from sourcing, relevance, ranking, to name a few. We work closely with the engineering teams to launch our solutions in production.
US, WA, Seattle
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video subscriptions such as Apple TV+, HBO Max, Peacock, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video team member, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! Key job responsibilities As a highly experienced science leader in speech and audio processing, you will apply state-of-the-art research in automatic speech recognition, voice synthesis, speech translation, and prosody modeling to make content sound great in every language, powering features like Dialogue Boost, AI-Assisted Dubbing, and Automated Audio Descriptions. You will lead the research direction for a team of deeply talented applied scientists working at the intersection of speech AI and accessibility, defining roadmaps that advance our capabilities in dialogue enhancement, hybrid AI-human dubbing pipelines, and dialect adaptation at scale. You will communicate these roadmaps effectively to senior leadership, connecting technical breakthroughs to customer impact. About the team The Prime Video - Content Reasoning, Enrichment & Localization Team's mission is to deeply understand all content and empower all customers with relevant language options, innovative accessibility assists, and rich title-information across all their content-experiences on Prime Video. We create and publish content on-time that's meaningful, accurate, and accessible to every customer globally. We delight our customers by pushing the boundaries of content understanding and enrichment. Through inclusion and innovation, we do the most fulfilling work of our career.
JP, 13, Tokyo
Do you want to see your research directly impact how millions of customers discover, browse, and purchase products on Amazon — across Japan and the globe? Amazon's Japan Store Tech team owns the science and technology behind cross-border shopping — product discovery, search relevance, personalization, and content experiences spanning dozens of marketplaces. We tackle problems at massive scale: multi-language signals, multi-marketplace data, and region-specific customer behaviors, all served at low latency to millions of daily shoppers. We're looking for current Bachelor or Master students with a passion for applied science and machine learning to join us as an Applied Scientist in 2028 to shape the future of customer experiences at scale. For this position, our Japan Store Tech team is looking for students with a specialization in one or more of the following research areas: machine learning, deep learning, natural language processing (NLP), information retrieval, recommender systems, computer vision, large language models (LLMs), generative AI, causal inference, experimentation and A/B testing, optimization, and more! As an Applied Scientist Intern, you'll develop novel models and algorithms, design and run experiments on live traffic, and own meaningful science contributions end-to-end. You'll also leverage and contribute to GenAI/LLM systems that power both customer-facing experiences and internal development tools. If you want to kickstart your science career at global scale — solving real customer problems alongside talented scientists and engineers in a collaborative, international environment — this is the place to start. Key job responsibilities - Collaborate and communicate effectively with experienced cross-disciplinary Amazonians to design, develop, and deploy innovative machine learning models and scientific solutions that delight our customers, while participating in technical discussions to drive solutions forward. - Develop and implement scalable machine learning models and algorithms to improve product discovery, search relevance, personalization, or other customer-facing experiences. - Design and conduct experiments (offline and online) to validate hypotheses and measure the impact of proposed solutions. - Analyze large-scale datasets to identify patterns, generate insights, and inform model design decisions. - Leverage and contribute to the development of GenAI and LLM-powered tools to enhance customer experiences and development productivity while staying current with emerging technologies. - Write clean, maintainable, production-quality code following best practices. - Communicate research findings effectively through documentation, presentations, and technical papers. - Work in an agile environment and collaborate closely with software engineers to bring science solutions from prototype to production.