Add to Favorites    Make Home Page 134421 Online
 Language Categories
 Source Codes Home Project Ideas New! Interview Questions FAQs Home ASP Home ASP Source Codes ASP Script Directory New! ASP .Net Script Directory New! ASP Interview Questions ASP FAQs ASP How Tos C Home C Source Codes C Script Directory New! C Interview Questions C FAQs C How Tos C++ Home C++ Source Codes C++ Script Directory New! C++ Interview Questions C++ FAQs C++ How Tos Java Home Java Source Codes Java Directory New! Java Interview Questions Java FAQs Java How Tos JavaScript Home JavaScript Directory New! JavaScript Source Codes JavaScript FAQs JavaScript How Tos COBOL Home COBOL Source Codes COBOL FAQs COBOL How Tos Pascal Home Pascal Source Codes Pascal FAQs Pascal How Tos PHP Script Directory New! Python Script Directory New! Perl & CGI Script Directory New! Flash Script Directory New! CFML Script Directory New! Remotely Hosted Scripts New! Tools & Utilities Directory New! XML Script Directory New! Best Programmers Amit Mathur Vishal Bhardwaj Deepesh Jain Vyom NetWork
 Our Services

Home » C Home » Mathematics Home » Transportation Cost Problem

A D V E R T I S E M E N T

Search Projects & Source Codes:

 Title Transportation Cost Problem Author K.Jayanth Author Email jayc02msc [at] drmcet.org Description Operation Research :Transportation Problem This transportation Problem will give the estimate the cost of the transportation.It consists of the supply and Demand.There aretwo conditions 1)if supply greater than demand then element values * demand and supply will be subtracted from demand 2)If suppply less than demand then element values * supply and demand will be subtracted from supply.Finally cost matrix is printed and the Sum of the allocated Matrix can be also calculated.The final sum is the Transportation Cost Category C » Mathematics Hits 385074 Code Select and Copy the Code Code : /************************************************************************* **/ /* */ /* Title : Transportation Problem in Operation Research */ /* Author : K.JAYANTH IV Msc(Software Engineering) */ /* College : Dr.Mahalingam College Of Engineering and Technology */ /* Mail-ID : jayc02msc@drmcet.org */ /* */ /* *********************************************************************** */ /* Look last of coding for SAMPLE INPUT*/ #include #include main() { int flag=0,flag1=0; int s[10],d[10],sn,eop=1,dm,a[10][10]; int i,j,sum=0,min,x[10][10],k,fa,fb; clrscr(); /* Getting The Input For the Problem*/ printf("Enter the number of Supply "); scanf("%d",&sn); printf("Enter the number of Demand "); scanf("%d",&dm); printf("Enter the Supply Values "); for(i=0;i=d[j]) //Check the supply greater than equal to demand { x[i][j]=a[i][j]*d[j]; // Calculate amount * demand s[i]=s[i]-d[j]; // Calculate supply - demand j++; // Increment j for the deletion of the row or column } } /* The Cost Matrix is Estimated here */ printf("Given Cost Matrix is : "); for(fa=0;fa

Related Source Codes

 Script Name Author The Game Opposite as seen on Nokia 2300 Mobile Manikanta RECURSIVE BALANCED QUICK SORT ashish Radix Sort ashish Change your mouse pointer Ashim The blinking star Shashank Data Validation Crylittlebaby To search a file by giving file type like mp3 or mpeg or doc Prashanth SR Menus Demonstration B.Chidhambaram Employee Database Project Using C. Reenku Raman Nayak Creating a Lexical Analyzer in c fahad bader al-buhairi ¦Õ¤ ?¤Ð Ãß??ÝÐÝ Calendar Program Omkar & Devendra Stop double Process for start in C Cedrik Jurak Stop double Process for start in C Cedrik Jurak Time Scheduler Atiq Anwar A timepass game between atmost two players Rahul Roy

A D V E R T I S E M E N T

Subscribe to SourceCodesWorld - Techies Talk
Email:

 Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.

ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home