Showing posts with label optimation. Show all posts
Showing posts with label optimation. Show all posts

Saturday, February 9, 2008

An Example of Orphys Fractal

It is suggested to read Introduction to Orphys Production Line and Shipping Schedule Optimation, before reading this entry.

Heuristic Constants in Optimation Program

The effectiveness of the optimation algorithm used in Orphys Production Line and Shipping Schedule Optimation (OPLSSO) , is affected by a set of heuristics. These measure of effectiveness, is often called fitness in Genetic Algorithm terms. By plotting the value of several objective functions into a two dimensional map, given a set of heuristic values, it is possible to compare the effectiveness of each set of heuristics.

As the number of heuristic values in Orphys PLSSO is more than two, the actual map is multidimensional. Since the computation resources I have is limited, I can only plot some two dimensional manifold inside the multidimensional map. The mathematic detail of what is plotted is given below.

For example an optimation algorithm have a set of objective values : Z1, Z2, Z3, ...... , Zk
The values of these objective values depend on a set of heuristics : h1, h2, h3, ...... , hn
A function F, will map a set of heuristics to the set of objective values as follow : [ Z1..k ] = F( h1..n );

Where k is the number of objective values and n is the number of heuristics used.

Since we have to plot a two dimensional map with two axis x and y, we have to make the value of the set of heuristics to depend on the value of x and y in linear manner :
h1 = a1 x + b1 y + c1
h2 = a2 x + b2 y + c2
h3 = a3 x + b3 y + c3
.
.
.
hn = an x + bn y + cn

Now the function F will map the value of x and y to the value of [ Z1..n ], like below :
[ Z1..k ] = F( a1..n x + b1..n y + c1..n );

The Objective Values of Orphys Production Line and Shipping Schedule Optimation

In case of Orphys PLSSO, the set of objective values are :

1. Total Production Line Time Used

How many Production Line Hour are used if a set of heuristics is used to control the algorithm used in Orphys PLSSO, according to the schedule produced by a set of heuristics ?

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest amount of Production Line Hour used, and purple denoting an area where the sets of heuristics produce a schedule with highest amount of Production Line Hour Used. The less Total Production Line Hour used, the more favourable the schedule produced is.




2. Total Overtime Hour Used

How many hours must the Production Lines in the case must works outside normal workhour, so customer's demand can be fulfilled on time, according to the schedule produced by a set of heuristics ?

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest amount of Total Overtime Hour Used, and purple denoting an area where the sets of heuristics produce a schedule with highest amount of Total Overtime Hour Used. The less Total Overtime Hour used, the more favourable the schedule produced is.




3. Total Production Line Salary

How much money must be spended to pay the salary, according to the schedule produced by a set of heuristics ? This value include the normal workhour salary and overtime payment.

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest Total Production Line Salary, and purple denoting an area where the sets of heuristics produce a schedule with highest Total Production Line Salary. The less Total Production Line Salary is required, the more favourable the schedule produced is.




4. Total Inter-Warehouse Shipping Cost

How much money must be spended to move the products from factories to warehouses or between warehouses, according to the schedule produced by a set of heuristics ?

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest Total Inter-Warehouse Shipping Cost, and purple denoting an area where the sets of heuristics produce a schedule with highest Total Inter-Warehouse Shipping Cost. The less Total Inter-Warehouse Shipping Cost is required, the more favourable the schedule produced is.




5. Total To-Customer Shipping Cost

How much money must be spended to send finished products from company's warehouses to customers on time, according to the schedule produced by a set of heuristics ? This value is affected by the amount of time left ( relative to deadline ) when the products that customers ordered is finished, the cost of the shipping means required to deliver the products on time, and the amount of products delivered.

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest Total To-Customer Shipping Cost, and purple denoting an area where the sets of heuristics produce a schedule with highest Total To-Customer Shipping Cost. The less Total To-Customer Shipping Cost is required, the more favourable the schedule produced is.



6. Order Fulfillment Cost Grand Total

Order Fulfillment Cost Grand Total is the predicted sum of all money used in all activity required to fulfill customer's demand. This cost is the sum of production line salary, inter-warehouse shipping cost, and to-customer shipping cost. So this value is the ultimate objective value of Orphys PLSSO.

The coloring used in the map below is HSV, with red denoting an area where the sets of heuristics produce a schedule with lowest Order Fulfillment Cost Grand Total, and purple denoting an area where the sets of heuristics produce a schedule with highest Order Fulfillment Cost Grand Total. The less Order Fulfillment Cost Grand Total is required, the more favourable the schedule produced is.



By comparing the maps of different objective values to Order Fulfillment Cost Grand Total map, we can understand which cost is dominant in a company. By understanding which cost is dominant in a company, the management team of a company can reduce the total cost by focusing on how to reduce the dominant cost. For example, since the map for Order Fulfillment Cost Grand Total is roughly the same with Total To-Customer Shipping Cost map ( in this example ) , we can infer that To-Customer Shipping Cost is the dominant one, and company's management team can focus their cost cutting efforts, by finding new means for shipping their finished products to customer.

Download an Example of Orphys PLSSO Schedule. ( HTML )

Friday, February 1, 2008

Orphys Production Line and Shipping Schedule Optimator

Introduction

Orphys Production Line and Shipping Schedule Optimator (Orphys PLSSO) is a program cluster made to help management team in a company to manage, how customer's demand is fulfilled, using any available company's resources, in the least costly way.

Orphys PLSSO is capable to automate and optimalize the production and shipping schedule for manufacturing companies with multiple factory and multiple warehouse. As the program cluster it is capable of trying different possible schedule based on some heuristic value in a short time, and tell the production management team the least costly schedule found.

Assumption

In order to do its task, the program make several assumption about the company :

  • the company have one or more factories.
  • the company have one or more warehouses.
  • the company may have one or more production lines in a factory.
  • the company have more than one means to transport their product to customer.
  • each factory have a storage area for finished product, which are warehouse in their own sense.
Several assumption about the production lines :
  • raw materials inputed into a production line, will yield finished products.
  • a production line may consist of several machine and tools.
  • a production line can't use other production line's resources (machine or tools).
  • production lines will have some lag time, if asked to produce a product it is not currently producing (setting time).
And several other assumption about the company's customer :
  • customers want to get their ordered product on time.
  • customers will give the company a deadline, to produce and ship their product.
  • customers may be located in different geographic area (cities, state, country).

What Schedule and Report can Orphys PLSSO make and optimize ?

Basically Orphys PLSSO can be used to produce several kind of schedule and report :

Download an Example of Orphys PLSSO Schedule. ( HTML )

Production Schedule, tells company management teams, at what time a production line must :
  • start producing product A. ( production )
  • change the production line's setting to produce product B. ( setting )
  • start producing product B. ( production )
  • change the production line's setting to produce product C. ( setting )
  • and so on.

Overtime Schedule, tells company management teams, in which day and how long a production line must work outside normal workhour (overtime). This feature can be disabled if the company policy don't allow overtime.


Inter-Warehouse Shipping Schedule, tells company management teams, when a finished product must be moved from a factory to a warehouse, or must be moved between warehouses.

To-Customer Shipping Schedule, tells company management teams :
  • when a finished product must be shipped to customer.
  • which shipping or transportation method must be used ( truck, ship or airplane, for example).
  • how much shipping days is needed.
  • when customer will recieve the shipped product.

Transport Cost Detail, is a detailed report about how demand on a set of product, is fulfilled by the production and shipping schedule generated by Orphys PLSSO. The report also tells the cost required to ship a customer's set of ordered product.


Estimated Cost, is a short report about the estimated cost involved, if the current plan is executed. The calculated costs are :
  • Inter-warehouse Shipping Cost ( Per Warehouse ).
  • To-Customer Shipping Cost ( Per Warehouse ).
  • Production Lines Salaries ( Per Factory ).

Download an Example of Orphys PLSSO Schedule. ( HTML )
Learn More about Orphys :

Orphys PLSSO Program Cluster

Orphys Production Line and Shipping Schedule Optimator (Orphys PLSSO) is a program cluster made to help management team in a company to manage, how customer's demand is fulfilled, using any available company's resources, in the least costly way.

Orphys PLSSO is capable to automate and optimalize the production and shipping schedule for manufacturing companies with multiple factory and multiple warehouse. As the program cluster it is capable of trying different possible schedule based on some heuristic value in a short time, and tell the production management team the least costly schedule found.

Orphys PLSSO is not a single program, it is a system consisting of several programs, They are :
  • Orphys Optimalization and Learning Server (OOLS)
  • Orphys Input Module
  • Orphys Web-based Interface
Orphys Optimalization and Learning Server (OOLS), is the brain of Oprhys PLSSO system. For Orphys PLSSO System to work, this OOLS program must simply be activated. When a company want to use Oprhys PLSSO system to optimize their production and shipping schedule, Orphys Web-based Interface will tell OOLS to make a schedule. When there is no request for any optimation, OOLS will learn from previous cases, about how to optimally optimize the company's production and shipping schedule.


Orphys Input Module, is one of two interface by which end-user can request OOLS to make and optimize a company's schedule. Orphys Input Module will ask end-users some information about the company, and turn the information into five files ( *.fac ; *.nmf ; *.fwhc ; *.ord ; *.nona ), which must be inputted later into Orphys Web-based Interface to make a schedule.


Orphys Web-based Interface, is the other interface by which end-user can request OOLS to make and optimize a company's schedule, by inputting the five files ( *.fac ; *.nmf ; *.fwhc ; *.ord ; *.nona ) generated by Orphys Input Module. This Web-based Interface is also useful for viewing the created schedule and report.


Download an Example of Orphys PLSSO Schedule. ( HTML )
Learn More about Orphys :

Orphys Input Module

Orphys Input Module is a program, created as an interface for an end-user, to enter the information about company's resources and customer's order, that must be scheduled properly to avoid high fulfillment cost.

There are several information that must be provided for Orphys PLSSO to make a optimized schedule, they are :

Environment Configuration
  • Number of City and names of the Cities
  • Number of Shipping Service available, and their names
  • Shipping Service Cost and Time Matrix

Product Configuration
  • Machinery and Tools required to make a product
  • Data of Product and the Production Line Setting required to make a product

Customer and Ordering
  • Customer Data
  • Port To Customer Cost Matrix
  • Nota and Nota Detail Information

Factory Configuration
  • Number of Factories and Basic Factory Data
  • Initial Production Line Configuration

Warehouse Configuration
  • Current Warehouse Configuration Data
  • Warehouse To Shipper Cost Matrix
  • Warehouse's Finished Product Stock Matrix

Notice, that most page have a save and load buttons. These buttons are used to save or load some parts of the company information for later use. After saving some parts of company information, end-users can load the saved information by using load buttons, without the need of rewriting the information from scratch.

To convert the information into five files ( *.fac ; *.nmf ; *.fwhc ; *.ord ; *.nona ), which is required for OOLS to make and optimize a schedule, open the conversion page, and click write button. Conversely you can also read company's information from five file format, by clicking read button in conversion page.



Download an Example of Orphys PLSSO Schedule. ( HTML )
Learn More about Orphys :
About Orphys

Orphys Production Line and Shipping Schedule Optimation, is a program I made to help manufacturing companies schedule their production and product shipping. The assumption had already been listed above.

If any reader here is interested to implement Orphys PLSSO in their company, just contact me by email.