This document describes an integer linear programming project for a charity organization to optimally distribute relief supplies from depots to districts in case of a disaster. The project analyzed data on distances between districts, depot capacities, and district demands. It constructed a mixed integer linear program to minimize total distribution costs by selecting 5 depots and determining supply amounts from depots to districts. The model was implemented in IBM CPLEX and provided optimal solutions for the decision variables that satisfied all demand scenarios within computational time of 1 hour and 44 minutes.
Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...IRJET Journal
This document describes the implementation of an effective self-timed multiplier for single precision floating point values using a carry-look ahead adder. It begins by introducing floating point representation and the need for floating point arithmetic in applications requiring a large dynamic range. It then discusses the IEEE 754 standard for single precision floating point format and the steps to multiply two floating point values. The key aspects of the proposed self-timed multiplier are that it uses a carry-look ahead adder to add the exponents, making the operation faster than a traditional ripple carry adder. VHDL is used to design and simulate the self-timed multiplier, which is shown to correctly perform multiplications under normal, overflow, and underflow conditions.
This paper presents the design of 4x4 and 8x8 multipliers using Vedic mathematics techniques and CMOS logic styles to achieve low power consumption and high speed. Simulation results of the multipliers show that operating in a voltage range of 1.5V to 2.5V provides an efficient tradeoff between speed and power. Power and delay values are reported for the multipliers at frequencies of 50MHz and 100MHz across supply voltages of 1V, 1.5V, 2V, 2.5V and 3V. The results indicate the designed multipliers have lower power consumption and delay in the voltage range of 1.5V to 2.5V, making it suitable for high-speed, low-
IRJET- Implementation of FIR Filter using Self Tested 2n-2k-1 Modulo AdderIRJET Journal
This document presents a novel algorithm and VLSI implementation for a modulo 2n-2k-1 adder. The proposed modulo adder structure has four modules: pre-processing, carry generation, carry modification, and sum calculation. It aims to reduce area and delay compared to traditional modulo adders. The proposed adder is used to generate random numbers with a long period suitable for cryptography. It is also used to implement a finite impulse response (FIR) filter to demonstrate better performance than a normal FIR filter. Simulation results show the proposed FIR filter using the modulo adder has a delay of 11.21ns, less than the 26.69ns delay of a conventional FIR filter.
A High performance unified BCD adder/SubtractorPrasanna Kumar
Improved architecture for efficient Binary Coded Decimal (BCD) addition/subtraction is presented that performs binary
addition/subtraction without any extra hardware
SURVEY ON POLYGONAL APPROXIMATION TECHNIQUES FOR DIGITAL PLANAR CURVESZac Darcy
This document summarizes and compares three techniques for polygonal approximation of digital planar curves:
1) Masood's technique which iteratively deletes redundant points and uses a stabilization process to optimize point locations.
2) Carmona's technique which suppresses redundant points using a breakpoint suppression algorithm and threshold.
3) Tanvir's adaptive optimization algorithm which focuses on high curvature points and applies an optimization procedure.
The techniques are evaluated on standard shapes using measures like number of points, compression ratio, error, and weighted error. Masood's technique generally had lower error while Tanvir's often achieved the highest compression.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
SINGLE PRECISION FLOATING POINT MULTIPLIER USING SHIFT AND ADD ALGORITHMAM Publications
Floating-point numbers are widely adopted in many applications due to their dynamic representation
capabilities. Basically floating point numbers are one possible way of representing real numbers in binary format.
Floating-point representation is able to retain its resolution and accuracy compared to fixed-point representations.
Multiplying floating point numbers is also a critical requirement for DSP applications involving large dynamic range.
The IEEE has produced a standard to define floating point representation and arithmetic which is known as IEEE
754 standards and which is the most common representation today for real numbers on computer. The IEEE 754
standard presents two different floating point formats, Binary interchange format and Decimal interchange format.
This paper presents a single precision floating point multiplier based on shift and add algorithm that supports the
IEEE 754 binary interchange format..
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...IRJET Journal
This document describes the implementation of an effective self-timed multiplier for single precision floating point values using a carry-look ahead adder. It begins by introducing floating point representation and the need for floating point arithmetic in applications requiring a large dynamic range. It then discusses the IEEE 754 standard for single precision floating point format and the steps to multiply two floating point values. The key aspects of the proposed self-timed multiplier are that it uses a carry-look ahead adder to add the exponents, making the operation faster than a traditional ripple carry adder. VHDL is used to design and simulate the self-timed multiplier, which is shown to correctly perform multiplications under normal, overflow, and underflow conditions.
This paper presents the design of 4x4 and 8x8 multipliers using Vedic mathematics techniques and CMOS logic styles to achieve low power consumption and high speed. Simulation results of the multipliers show that operating in a voltage range of 1.5V to 2.5V provides an efficient tradeoff between speed and power. Power and delay values are reported for the multipliers at frequencies of 50MHz and 100MHz across supply voltages of 1V, 1.5V, 2V, 2.5V and 3V. The results indicate the designed multipliers have lower power consumption and delay in the voltage range of 1.5V to 2.5V, making it suitable for high-speed, low-
IRJET- Implementation of FIR Filter using Self Tested 2n-2k-1 Modulo AdderIRJET Journal
This document presents a novel algorithm and VLSI implementation for a modulo 2n-2k-1 adder. The proposed modulo adder structure has four modules: pre-processing, carry generation, carry modification, and sum calculation. It aims to reduce area and delay compared to traditional modulo adders. The proposed adder is used to generate random numbers with a long period suitable for cryptography. It is also used to implement a finite impulse response (FIR) filter to demonstrate better performance than a normal FIR filter. Simulation results show the proposed FIR filter using the modulo adder has a delay of 11.21ns, less than the 26.69ns delay of a conventional FIR filter.
A High performance unified BCD adder/SubtractorPrasanna Kumar
Improved architecture for efficient Binary Coded Decimal (BCD) addition/subtraction is presented that performs binary
addition/subtraction without any extra hardware
SURVEY ON POLYGONAL APPROXIMATION TECHNIQUES FOR DIGITAL PLANAR CURVESZac Darcy
This document summarizes and compares three techniques for polygonal approximation of digital planar curves:
1) Masood's technique which iteratively deletes redundant points and uses a stabilization process to optimize point locations.
2) Carmona's technique which suppresses redundant points using a breakpoint suppression algorithm and threshold.
3) Tanvir's adaptive optimization algorithm which focuses on high curvature points and applies an optimization procedure.
The techniques are evaluated on standard shapes using measures like number of points, compression ratio, error, and weighted error. Masood's technique generally had lower error while Tanvir's often achieved the highest compression.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
SINGLE PRECISION FLOATING POINT MULTIPLIER USING SHIFT AND ADD ALGORITHMAM Publications
Floating-point numbers are widely adopted in many applications due to their dynamic representation
capabilities. Basically floating point numbers are one possible way of representing real numbers in binary format.
Floating-point representation is able to retain its resolution and accuracy compared to fixed-point representations.
Multiplying floating point numbers is also a critical requirement for DSP applications involving large dynamic range.
The IEEE has produced a standard to define floating point representation and arithmetic which is known as IEEE
754 standards and which is the most common representation today for real numbers on computer. The IEEE 754
standard presents two different floating point formats, Binary interchange format and Decimal interchange format.
This paper presents a single precision floating point multiplier based on shift and add algorithm that supports the
IEEE 754 binary interchange format..
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
The automatic license plate recognition(alpr)eSAT Journals
Abstract Every country uses their own way of designing and allocating number plates to their country vehicles. This license number plate is then used by various government offices for their respective regular administrative task like- traffic police tracking the people who are violating the traffic rules, to identify the theft cars, in toll collection and parking allocation management etc. In India all motorized vehicle are assigned unique numbers. These numbers are assigned to the vehicles by district-level Regional Transport Office (RTO). In India the license plates must be kept in both front and back of the vehicle. These plates in general are easily readable by human due to their high level of intelligence on the contrary; it becomes an extremely difficult task for the computers to do the same. Many attributes like illumination, blur, background color, foreground color etc. will pose a problem. Index Terms: Automatic license plate recognition (ALPR) system, proposed methodology, reference
The automatic license plate recognition(alpr)eSAT Journals
Abstract Every country uses their own way of designing and allocating number plates to their country vehicles. This license number plate is then used by various government offices for their respective regular administrative task like- traffic police tracking the people who are violating the traffic rules, to identify the theft cars, in toll collection and parking allocation management etc. In India all motorized vehicle are assigned unique numbers. These numbers are assigned to the vehicles by district-level Regional Transport Office (RTO). In India the license plates must be kept in both front and back of the vehicle. These plates in general are easily readable by human due to their high level of intelligence on the contrary; it becomes an extremely difficult task for the computers to do the same. Many attributes like illumination, blur, background color, foreground color etc. will pose a problem. Index Terms: Automatic license plate recognition (ALPR) system, proposed methodology, reference
This document presents a comparative analysis of different designs for a 1-bit full adder circuit. It describes full adder designs using CMOS, TG, GDI, 9T GDI-PTL, and GDI-PTL logic. The designs are simulated in Cadence at 45nm technology with uniform transistor widths and lengths. Simulation results show that the GDI-PTL design has the lowest power delay product, making it well-suited for low-power applications. It provides satisfactory output levels with no conflicting voltage levels, using fewer transistors than CMOS or TG designs. The CMOS and TG designs have undistorted outputs but use more transistors, while the GDI and 9T designs use fewer transistors
IRJET- A Novel Gabor Feed Forward Network for Pose Invariant Face Recogni...IRJET Journal
The document proposes an Analytic Gabor Feed Forward Network (AGFN) for pose invariant face recognition. AGFN uses a single hidden layer to efficiently extract Gabor features from raw face images without computationally expensive convolutions. Features from multiple orientations and scales are fused at the output layer. The network is trained using total error rate minimization to find a globally optimal solution without iterations. Experiments on several public face datasets showed the AGFN approach achieved accurate face recognition while being computationally efficient.
ARCHAEOLOGICAL LAND USE CHARACTERIZATION USING MULTISPECTRAL REMOTE SENSING DATAgrssieee
1) The document discusses aggregating parallel computing techniques and hardware/software co-design to implement high-performance remote sensing applications in real-time.
2) A methodology is proposed that applies parallelization techniques to remote sensing algorithms and maps computational tasks to super-systolic array co-processor architectures through hardware/software co-design.
3) Case studies demonstrate applying techniques like loop optimization, tiling, and space-time mapping to the matrix vector multiplication algorithm and implementing the results in FPGA and VLSI platforms.
Linear Feature Separation From Topographic Maps Using Energy Density and The ...Rojith Thomas
This document presents a method for automatically separating linear features from backgrounds in digital topographic maps. It is difficult to separate lines and backgrounds when their colors are similar using traditional color-based methods. The proposed method uses shear transform, energy density concepts, and template matching. Lines are separated from backgrounds based on the rule that energy density is higher for lines distributed in small areas compared to backgrounds distributed in large areas. The method was tested on a 342x198 topographic map with similar line and background colors and was able to extract the linear features.
ALGORITHMIC AND ARCHITECTURAL OPTIMIZATION OF A 3D RECONSTRUCTION MEDICAL IMA...IJCSEIT Journal
This document summarizes an optimization of a 3D reconstruction algorithm called Marching Cubes for hardware implementation on an FPGA. It describes:
1) The Marching Cubes algorithm which generates a triangular mesh from segmented medical images and its repetitive nature.
2) The AAA methodology and SynDEx-IC tool used to specify the algorithm graph and optimize for the FPGA architecture through factorization and defactorization.
3) The optimized implementation generated by SynDEx-IC including a data path with calculation operators and memory, and a control path to coordinate factorization frontiers.
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
This document presents the implementation of an optimized floating point adder on an FPGA that follows the IEEE 754-2008 standard for decimal floating point numbers. It uses a densely packed decimal encoding scheme. The design uses a low power equal bypass adder to reduce power consumption and delay. Testing showed the design has a maximum delay of 45ns and operates in a single clock cycle on a Virtex-5 FPGA. The optimized adder design can help reduce power usage in larger floating point arithmetic units.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
This document proposes a hardware implementation of a fixed-function 3D graphics pipeline for mobile applications. It presents the design of modules for vertex transformation, rasterization, texture mapping, and data transmission. Simulation results show the design can render 3D objects with color, textures, and different rendering modes. The design was fabricated in a 130nm technology and achieved a core power consumption of 1.768mW. Future work could involve replacing the fixed-function pipeline with programmable shaders to improve flexibility.
IRJET - Distributed Arithmetic Method for Complex MultiplicationIRJET Journal
This document describes a distributed arithmetic method for complex multiplication that reduces complexity compared to a regular multiplier. It presents a distributed arithmetic based complex multiplier architecture that uses lookup tables instead of actual multipliers and adders. The architecture stores pre-calculated outcomes for the real and imaginary parts of the complex multiplication in ROMs. It shifts the inputs and uses the output bits as addresses for the ROMs to perform the multiplication with less components than a traditional design. The proposed architecture is implemented in Verilog and simulated using Xilinx tools to verify its functionality for signed, unsigned and hexadecimal numbers.
This document discusses image enhancement and restoration techniques in digital image processing. It describes various arithmetic and logical operations that can be performed on images, including addition, averaging, subtraction, multiplication/division, AND, and OR. These operations allow images to be combined, adjusted for brightness, and manipulated to enhance features or remove artifacts. Pixel value ranges must be normalized back to 0-255 after arithmetic operations.
Design and implementation of high speed baugh wooley and modified booth multi...eSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...IJERA Editor
Due to advancement of new technology in the field of VLSI and Embedded system, there is an increasing
demand of high speed and low power consumption processor. Speed of processor greatly depends on its
multiplier as well as adder performance. In spite of complexity involved in floating point arithmetic, its
implementation is increasing day by day. Due to which high speed adder architecture become important. Several
adder architecture designs have been developed to increase the efficiency of the adder. In this paper, we
introduce an architecture that performs high speed IEEE 754 floating point multiplier using modified carry
select adder (CSA). Modified CSA depend on booth encoder (BEC) Technique. Booth encoder, Mathematics is
an ancient Indian system of Mathematics. Here we are introduced two carry select based design. These designs
are implementation Xilinx Vertex device family.
Face recognition using selected topographical features IJECEIAES
This paper represents a new features selection method to improve an existed feature type. Topographical (TGH) features provide large set of features by assigning each image pixel to the related feature depending on image gradient and Hessian matrix. Such type of features was handled by a proposed features selection method. A face recognition feature selector (FRFS) method is presented to inspect TGH features. FRFS depends in its main concept on linear discriminant analysis (LDA) technique, which is used in evaluating features efficiency. FRFS studies feature behavior over a dataset of images to determine the level of its performance. At the end, each feature is assigned to its related level of performance with different levels of performance over the whole image. Depending on a chosen threshold, the highest set of features is selected to be classified by SVM classifier.
IRJET- Asic Implementation of Efficient Error Detection for Floating Poin...IRJET Journal
1) An area efficient floating point addition unit with error detection logic is proposed using a carry select adder with a binary to excess-1 converter instead of dual ripple carry adders to reduce area.
2) Simulation results show the proposed design reduces area and power compared to general floating point addition units, with a slight increase in delay.
3) The design is implemented using VHDL and tested on a Xilinx simulator.
Enhancement of genetic image watermarking robust against cropping attackijfcstjournal
The enhancement of image watermarking algorithm robust against particular attack by using genetic
algorithm is presented here. There is a trade-off between imperceptibility and robustness in image
watermarking. To preserve both of these characteristics in digital image watermarking in a logical value,
the genetic algorithm is used. Some factors were introduced for providing robustness of image
watermarking against cropping attack such as the Centre of Interest Proximity Factor (CIPF), the
Complexity Factor (CF) and the Priority Coefficient (PC).
The International Journal of Engineering & Science is aimed at providing a platform for researchers, engineers, scientists, or educators to publish their original research results, to exchange new ideas, to disseminate information in innovative designs, engineering experiences and technological skills. It is also the Journal's objective to promote engineering and technology education. All papers submitted to the Journal will be blind peer-reviewed. Only original articles will be published.
The document discusses different types of images in Matlab including binary, grayscale, indexed, and RGB images. It also summarizes commands to convert between image types such as converting grayscale to indexed or truecolor to binary. Finally, it provides examples of how to view images, measure pixel values and distances, and crop images using the imtool command.
IRJET- Parallelization of Definite IntegrationIRJET Journal
1. The document discusses parallelizing numerical integration methods to improve computational efficiency. It describes Simpson's rule and Gaussian quadrature algorithms for definite integration and presents their parallelized versions.
2. The algorithms divide the integration interval into subintervals that can be computed independently, allowing parallel computation to evaluate the integral faster than serial computation for complex functions.
3. Testing showed Simpson's rule was faster than Gaussian quadrature and parallel computation was faster than serial for problems with many subintervals, demonstrating the benefit of parallelization for compute-intensive definite integration tasks.
The automatic license plate recognition(alpr)eSAT Journals
Abstract Every country uses their own way of designing and allocating number plates to their country vehicles. This license number plate is then used by various government offices for their respective regular administrative task like- traffic police tracking the people who are violating the traffic rules, to identify the theft cars, in toll collection and parking allocation management etc. In India all motorized vehicle are assigned unique numbers. These numbers are assigned to the vehicles by district-level Regional Transport Office (RTO). In India the license plates must be kept in both front and back of the vehicle. These plates in general are easily readable by human due to their high level of intelligence on the contrary; it becomes an extremely difficult task for the computers to do the same. Many attributes like illumination, blur, background color, foreground color etc. will pose a problem. Index Terms: Automatic license plate recognition (ALPR) system, proposed methodology, reference
The automatic license plate recognition(alpr)eSAT Journals
Abstract Every country uses their own way of designing and allocating number plates to their country vehicles. This license number plate is then used by various government offices for their respective regular administrative task like- traffic police tracking the people who are violating the traffic rules, to identify the theft cars, in toll collection and parking allocation management etc. In India all motorized vehicle are assigned unique numbers. These numbers are assigned to the vehicles by district-level Regional Transport Office (RTO). In India the license plates must be kept in both front and back of the vehicle. These plates in general are easily readable by human due to their high level of intelligence on the contrary; it becomes an extremely difficult task for the computers to do the same. Many attributes like illumination, blur, background color, foreground color etc. will pose a problem. Index Terms: Automatic license plate recognition (ALPR) system, proposed methodology, reference
This document presents a comparative analysis of different designs for a 1-bit full adder circuit. It describes full adder designs using CMOS, TG, GDI, 9T GDI-PTL, and GDI-PTL logic. The designs are simulated in Cadence at 45nm technology with uniform transistor widths and lengths. Simulation results show that the GDI-PTL design has the lowest power delay product, making it well-suited for low-power applications. It provides satisfactory output levels with no conflicting voltage levels, using fewer transistors than CMOS or TG designs. The CMOS and TG designs have undistorted outputs but use more transistors, while the GDI and 9T designs use fewer transistors
IRJET- A Novel Gabor Feed Forward Network for Pose Invariant Face Recogni...IRJET Journal
The document proposes an Analytic Gabor Feed Forward Network (AGFN) for pose invariant face recognition. AGFN uses a single hidden layer to efficiently extract Gabor features from raw face images without computationally expensive convolutions. Features from multiple orientations and scales are fused at the output layer. The network is trained using total error rate minimization to find a globally optimal solution without iterations. Experiments on several public face datasets showed the AGFN approach achieved accurate face recognition while being computationally efficient.
ARCHAEOLOGICAL LAND USE CHARACTERIZATION USING MULTISPECTRAL REMOTE SENSING DATAgrssieee
1) The document discusses aggregating parallel computing techniques and hardware/software co-design to implement high-performance remote sensing applications in real-time.
2) A methodology is proposed that applies parallelization techniques to remote sensing algorithms and maps computational tasks to super-systolic array co-processor architectures through hardware/software co-design.
3) Case studies demonstrate applying techniques like loop optimization, tiling, and space-time mapping to the matrix vector multiplication algorithm and implementing the results in FPGA and VLSI platforms.
Linear Feature Separation From Topographic Maps Using Energy Density and The ...Rojith Thomas
This document presents a method for automatically separating linear features from backgrounds in digital topographic maps. It is difficult to separate lines and backgrounds when their colors are similar using traditional color-based methods. The proposed method uses shear transform, energy density concepts, and template matching. Lines are separated from backgrounds based on the rule that energy density is higher for lines distributed in small areas compared to backgrounds distributed in large areas. The method was tested on a 342x198 topographic map with similar line and background colors and was able to extract the linear features.
ALGORITHMIC AND ARCHITECTURAL OPTIMIZATION OF A 3D RECONSTRUCTION MEDICAL IMA...IJCSEIT Journal
This document summarizes an optimization of a 3D reconstruction algorithm called Marching Cubes for hardware implementation on an FPGA. It describes:
1) The Marching Cubes algorithm which generates a triangular mesh from segmented medical images and its repetitive nature.
2) The AAA methodology and SynDEx-IC tool used to specify the algorithm graph and optimize for the FPGA architecture through factorization and defactorization.
3) The optimized implementation generated by SynDEx-IC including a data path with calculation operators and memory, and a control path to coordinate factorization frontiers.
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
This document presents the implementation of an optimized floating point adder on an FPGA that follows the IEEE 754-2008 standard for decimal floating point numbers. It uses a densely packed decimal encoding scheme. The design uses a low power equal bypass adder to reduce power consumption and delay. Testing showed the design has a maximum delay of 45ns and operates in a single clock cycle on a Virtex-5 FPGA. The optimized adder design can help reduce power usage in larger floating point arithmetic units.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
This document proposes a hardware implementation of a fixed-function 3D graphics pipeline for mobile applications. It presents the design of modules for vertex transformation, rasterization, texture mapping, and data transmission. Simulation results show the design can render 3D objects with color, textures, and different rendering modes. The design was fabricated in a 130nm technology and achieved a core power consumption of 1.768mW. Future work could involve replacing the fixed-function pipeline with programmable shaders to improve flexibility.
IRJET - Distributed Arithmetic Method for Complex MultiplicationIRJET Journal
This document describes a distributed arithmetic method for complex multiplication that reduces complexity compared to a regular multiplier. It presents a distributed arithmetic based complex multiplier architecture that uses lookup tables instead of actual multipliers and adders. The architecture stores pre-calculated outcomes for the real and imaginary parts of the complex multiplication in ROMs. It shifts the inputs and uses the output bits as addresses for the ROMs to perform the multiplication with less components than a traditional design. The proposed architecture is implemented in Verilog and simulated using Xilinx tools to verify its functionality for signed, unsigned and hexadecimal numbers.
This document discusses image enhancement and restoration techniques in digital image processing. It describes various arithmetic and logical operations that can be performed on images, including addition, averaging, subtraction, multiplication/division, AND, and OR. These operations allow images to be combined, adjusted for brightness, and manipulated to enhance features or remove artifacts. Pixel value ranges must be normalized back to 0-255 after arithmetic operations.
Design and implementation of high speed baugh wooley and modified booth multi...eSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...IJERA Editor
Due to advancement of new technology in the field of VLSI and Embedded system, there is an increasing
demand of high speed and low power consumption processor. Speed of processor greatly depends on its
multiplier as well as adder performance. In spite of complexity involved in floating point arithmetic, its
implementation is increasing day by day. Due to which high speed adder architecture become important. Several
adder architecture designs have been developed to increase the efficiency of the adder. In this paper, we
introduce an architecture that performs high speed IEEE 754 floating point multiplier using modified carry
select adder (CSA). Modified CSA depend on booth encoder (BEC) Technique. Booth encoder, Mathematics is
an ancient Indian system of Mathematics. Here we are introduced two carry select based design. These designs
are implementation Xilinx Vertex device family.
Face recognition using selected topographical features IJECEIAES
This paper represents a new features selection method to improve an existed feature type. Topographical (TGH) features provide large set of features by assigning each image pixel to the related feature depending on image gradient and Hessian matrix. Such type of features was handled by a proposed features selection method. A face recognition feature selector (FRFS) method is presented to inspect TGH features. FRFS depends in its main concept on linear discriminant analysis (LDA) technique, which is used in evaluating features efficiency. FRFS studies feature behavior over a dataset of images to determine the level of its performance. At the end, each feature is assigned to its related level of performance with different levels of performance over the whole image. Depending on a chosen threshold, the highest set of features is selected to be classified by SVM classifier.
IRJET- Asic Implementation of Efficient Error Detection for Floating Poin...IRJET Journal
1) An area efficient floating point addition unit with error detection logic is proposed using a carry select adder with a binary to excess-1 converter instead of dual ripple carry adders to reduce area.
2) Simulation results show the proposed design reduces area and power compared to general floating point addition units, with a slight increase in delay.
3) The design is implemented using VHDL and tested on a Xilinx simulator.
Enhancement of genetic image watermarking robust against cropping attackijfcstjournal
The enhancement of image watermarking algorithm robust against particular attack by using genetic
algorithm is presented here. There is a trade-off between imperceptibility and robustness in image
watermarking. To preserve both of these characteristics in digital image watermarking in a logical value,
the genetic algorithm is used. Some factors were introduced for providing robustness of image
watermarking against cropping attack such as the Centre of Interest Proximity Factor (CIPF), the
Complexity Factor (CF) and the Priority Coefficient (PC).
The International Journal of Engineering & Science is aimed at providing a platform for researchers, engineers, scientists, or educators to publish their original research results, to exchange new ideas, to disseminate information in innovative designs, engineering experiences and technological skills. It is also the Journal's objective to promote engineering and technology education. All papers submitted to the Journal will be blind peer-reviewed. Only original articles will be published.
The document discusses different types of images in Matlab including binary, grayscale, indexed, and RGB images. It also summarizes commands to convert between image types such as converting grayscale to indexed or truecolor to binary. Finally, it provides examples of how to view images, measure pixel values and distances, and crop images using the imtool command.
IRJET- Parallelization of Definite IntegrationIRJET Journal
1. The document discusses parallelizing numerical integration methods to improve computational efficiency. It describes Simpson's rule and Gaussian quadrature algorithms for definite integration and presents their parallelized versions.
2. The algorithms divide the integration interval into subintervals that can be computed independently, allowing parallel computation to evaluate the integral faster than serial computation for complex functions.
3. Testing showed Simpson's rule was faster than Gaussian quadrature and parallel computation was faster than serial for problems with many subintervals, demonstrating the benefit of parallelization for compute-intensive definite integration tasks.
This document presents a multi-objective optimization model for integrated production and distribution scheduling. The objectives are to minimize total weighted tardiness and total distribution costs. A mixed integer programming formulation is developed with constraints for job precedence, vehicle capacity, and delivery times. A genetic algorithm using NSGA-II is proposed as a solution methodology, with chromosome representation, crossover, mutation and crowding distance calculation described. An example problem is presented to illustrate the model and solution approach.
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment ProblemIRJET Journal
This document compares algorithms for optimally assigning individuals to centers to minimize total travel costs and distance, such as for a large-scale event. It formulates the problem as a graph assignment problem that can be solved using max-flow min-cut algorithms. It evaluates the Hungarian algorithm, Ford-Fulkerson algorithm, Edmonds-Karp algorithm, and Auction algorithm, implementing them to recommend the best for providing an optimized allocation in the shortest time.
Optimization of Time Restriction in Construction Project Management Using Lin...IJERA Editor
This study is an attempt to identify the minimum time of a construction project using the critical path method
and linear programming model. A systematic analysis is attempted by developing a work breakdown structure
for entire project to establish work elements for quantifying various resources against time and cost. A network
is established taking into consideration all the predecessor and successor activities. The network is then
optimized through crashing of activities so as to obtain optimal solution and serves as a base for optimizing total
project cost. Finally, linear programming model is used to formulate the system of crashing network for
minimum time by LINGO model and Microsoft Excel. These models consider many considerations of project
thus reducing the duration of project. Ultimately, comparison of both the software outputs and the manual
calculations is done and the best verifier is determined.
A Hybrid Data Clustering Approach using K-Means and Simplex Method-based Bact...IRJET Journal
The document proposes a hybrid clustering algorithm called SMBCO+KM that combines k-means clustering, bacterial colony optimization (BCO), and the simplex method. K-means is used for its fast clustering ability but depends on initial conditions. BCO is used to search the solution space but has a slow convergence rate. The simplex method enhances the performance of BCO. The hybrid approach uses BCO initially to search globally, then switches to k-means locally to generate more precise clusters. Simulation results on six datasets show the proposed approach outperforms other algorithms in clustering quality and runtime.
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...IRJET Journal
This document describes the design of a low power serial-parallel multiplier that uses a modified radix-4 Booth algorithm. It aims to improve performance over a standard serial-parallel Booth multiplier in terms of area, delay, and power. The proposed multiplier generates partial products conditionally, adding only non-zero Booth encodings and skipping zero operations to reduce transitions and increase throughput. It is implemented using FPGA technology to evaluate its utility for applications like digital signal processing and machine learning that require high performance multiplication.
Application of local search methods for solving a quadratic assignment proble...Gurdal Ertek
This paper discusses the design and application of local search methods to a real-life application at a steel cord manufacturing plant. The case study involves a layout problem that can be represented as a Quadratic Assignment Problem (QAP). Due to the nature of the manufacturing process, certain machinery need to be allocated in close proximity to each other. This issue is incorporated into the objective function through assigning high penalty costs to the unfavorable allocations. QAP belongs to one of the most difficult class of combinatorial optimization problems, and is not solvable to optimality as the number of facilities increases. We implement the well-known local
search methods, 2-opt, 3-opt and tabu search. We compare the solution performances of the methods to the results obtained from the NEOS server, which provides free access to many optimization solvers on the internet.
http://research.sabanciuniv.edu.
This case study examines the impact of sales, fixed assets, and interest paid on the profitability of a major logistics company, GATI Limited, using multiple linear regression analysis. The regression analysis found that profitability is significantly and positively impacted by increases in fixed assets, and significantly and negatively impacted by increases in interest paid. Sales volume has a positive but minimal impact on profitability. Seasonality was also found to impact profitability. Overall, infrastructure development programs are expected to strengthen growth for the logistics industry by reducing costs, though current economic conditions remain challenging due to global slowdown.
This document describes a novel design for a 32-bit unsigned multiplier using a modified carry select adder (MCSLA). It begins with background on adders and multipliers in VLSI design. It then describes the conventional carry select adder (CSLA) and proposes a modified CSLA (MCSLA) that uses common boolean logic to reduce area and power. The document presents the design and VHDL simulation results of a 32-bit unsigned multiplier using both CSLA and the proposed MCSLA. The results show the MCSLA based multiplier achieves a 45% reduction in power-area-delay product compared to the CSLA based multiplier.
A fast fpga based architecture for measuring the distance betweenIAEME Publication
This paper presents an FPGA-based architecture for measuring the Manhattan distance between two RGB color images. The architecture takes RGB pixel values from each image as input and calculates the absolute difference between corresponding pixel values. It sums all the absolute differences and divides by the total number of pixels to obtain the normalized Manhattan distance. The architecture was implemented on a Xilinx Spartan 3 FPGA and can operate at 171.585 MHz, faster than software solutions. Experimental results demonstrating distance calculations on sample image pairs are presented. The FPGA implementation allows real-time Manhattan distance measurement for applications like image retrieval.
AMAZON STOCK PRICE PREDICTION BY USING SMLTIRJET Journal
This document discusses predicting stock prices of Amazon (AMZN) stock using machine learning algorithms. It evaluates KNN, SVR, elastic net, and linear regression algorithms and finds that linear regression has the highest accuracy based on precision, recall, and F1 score metrics. The document provides details on each algorithm and compares their performance on this stock price prediction task. Linear regression builds a linear model to predict the dependent variable (stock price) based on independent variables and is shown to outperform the other supervised learning algorithms for this specific prediction problem.
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
Scientific calculator project in c languageAMIT KUMAR
This document describes a program developed to simulate the computational functions of a scientific calculator using C++ code. It discusses methods used to approximate common calculator functions like square root, exponential, and sine through polynomial approximations. The program aims to accurately compute results to 10 significant figures while conforming to the computational limitations of a calculator through techniques like Chebyshev polynomials, identities, and interval breakdowns. It also addresses issues that arise in transferring mathematical functions to a limited computational environment.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
This document discusses variations of the interval linear assignment problem. It begins with an introduction to assignment problems and defines them as problems that assign resources to activities to minimize cost or maximize profit on a one-to-one basis. It then provides the mathematical model for standard assignment problems and discusses variations such as non-square matrices, maximization/minimization objectives, constrained assignments, and alternate optimal solutions. The document also gives examples of managerial applications and provides two numerical examples solving interval linear assignment problems using an interval Hungarian method.
IRJET- Optimal Placement and Size of DG and DER for Minimizing Power Loss and...IRJET Journal
This document summarizes research on optimizing the placement and sizing of distributed generation (DG) and distributed energy resources (DER) in a 33-bus distribution system to minimize power losses. Two optimization techniques are evaluated: Grasshopper Optimization Algorithm (GOA) and Moth Flame Optimization (MFO). MFO shows better results, identifying bus 13, 24 and 30 as optimal locations for DG, reducing losses from 0.2027 MW to 0.0715 MW at normal load. For DER, optimal locations are DG at buses 13, 25, 30 and capacitors at buses 7, 13, 30, further reducing losses to 0.0144 MW. Graphs and tables show MFO placement
International Journal of Computational Engineering Research(IJCER)ijceronline
International Journal of Computational Engineering Research(IJCER) is an intentional online Journal in English monthly publishing journal. This Journal publish original research work that contributes significantly to further the scientific knowledge in engineering and Technology.
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
Sequences classification based on group technology for flexible manufacturing...eSAT Journals
Abstract Flexible cell formation is based on Group Technology. Group Technology rests on the exploitation of resemblances between products or processes, which makes the identification of products’ families and machines’ cells easier. We propose a new approach based on the language theory for product family grouping according to their manufacturing sequences. This approach uses linear sequences of the manufacturing products which are assimilated to the words of a language. We have chosen the Levenhstein distance for sequence classification. We are going to compare our method to Dice-Czekanowski and Jaccard’s methods and apply the vectorial correlation coefficient as a comparison tool between two hierarchical classifications. Keywords: manufacturing sequences, language theory, hierarchical classification, Group Technology.
Similar to IE-301_OptionalProject_Group2_Report (20)
Sequences classification based on group technology for flexible manufacturing...
IE-301_OptionalProject_Group2_Report
1. IE-301 Integer Linear Programming Modelling and Implementation
pg. 1
IE-301
Optional Project
Integer Linear Programming Modeling and
Implementation
Fall 2016
Group #3
Project Group Members:
Sarp Uzel 18184
Barışcan Savaş16590
Utku Suer 16531
Supervised By:Kerem Bülbül
Date:08/12/2016
2. IE-301 Integer Linear Programming Modelling and Implementation
pg. 2
Table of Contents
Abstract................................................................................................................................................... 3
Introduction............................................................................................................................................ 3
Part A....................................................................................................................................................... 6
Part B..................................................................................................................................................... 11
Part C..................................................................................................................................................... 15
APPENDIX.............................................................................................................................................. 20
Code for connecting the data file in part A:.......................................................................................... 20
Code for connecting the data file in part B and C:................................................................................ 20
References: ........................................................................................................................................... 20
3. IE-301 Integer Linear Programming Modelling and Implementation
pg. 3
Abstract
The Linear Integer Programming is a widely used method in optimization of warehouse
selection problems(or p-median problems or location-allocation) by many Industrial
Engineers.This project focuses on a p-median problem, where the project members were
assumed to imagine Turkey’s well known charity organzation require them to find the optimal
values for disturbing relief supplies from depots to districts.The members of the project group
were asked to minimize the total cost of disturbing relief items, which are supplied by Kızılay,
to 13 different disctricts located in the Asia part of Istanbul by selecting 5 depot points out of
13 districts and determining the number of supplies sent from 5 depots to 13 districts, in case
of a disaster. The core important parts which separate this project’s problem from classical p-
median problems can be listed as: the fact that the multi-sourcing is allowed, the fact that
uncertainity is concerned.The project group, first structured the mathematical model of the
Kızılay’s minimum cost warehouse selection problems in different scenerios and then
implemented the model by using IBM ILOG CPLEX Optimization software, in order to find the
solution of the Linear Integer Program.At the very end, the project group found the objective
values for different demands of Kızılay as well as the optimum solution for decision variables.
Introduction
In this project, project team assumed that Kızılay is aware of the importance of the natural
disasters, so they want to be ready to disturibute relief supplies that they have with respect
to the different demands of different districts, under different types of circumstances, in case
of a disaster. Not only do Kızılay require to distribute these items according to the demands
4. IE-301 Integer Linear Programming Modelling and Implementation
pg. 4
of the districts, but also they want to minimize the cost of disturbing these items. The problem
states that there are 13 districts that have be supplied by 5 depots whom locations will be
selected amoung the same 13 districts. All of the depot capacities for stocking relief supplies
are the same for each depot candidate. The demands of the districts are given.The distance
between two different districts is also provided as a 13x13 matrix.The depots can only serve
to districts that are at most 20 km far away. The cost of carrying one item for 1 km is 1 TL.
Every district must be assigned to atleast one depot. There is no fixed cost of opening a new
depot. Below you can find the description of the original problem that is assigned to the
project members:
5. IE-301 Integer Linear Programming Modelling and Implementation
pg. 5
The p-median problem is stated as:” Given a graph or a network G = (V, E), find Vp ⊆ V such that
|Vp| = p, where p may either be variable or fixed (see Section 2.3), and that the sum of the shortest
distances from the vertices in {V Vp} to their nearest vertex in Vp is minimized. In this section we
provide an extended problem definition and a unified notation scheme.”( J. Reese,2005).
6. IE-301 Integer Linear Programming Modelling and Implementation
pg. 6
The reason why the project group state that this problem is also a p-median problem is the fact that
it satisfies the requirements of p-median problems.
Here are the criteria of p-median problem: (Jamshidi,2009)
1-The cost is directly proportional to the distance.
2-There is no time limit.
3-Total number of warehouses is known.
4-There is no fixed cost for opening a warehouse.
5-All warehouses have the same properties.
6-The candidates for warehouses are also known.
Part A
The data for distance,capacity and demands were all provided by the supervisor.
Here is the data for distance between two districts:
Here is the capacity data:
7. IE-301 Integer Linear Programming Modelling and Implementation
pg. 7
Here is the data for demand:
First thing that the project team did was analyzing the data. By using the =MAX() funtion in excel,
project team members determined the possible maximum relief item sent from district i to district
j(i=1,2..,13; j=1,2..,13).
Thus, analyze resulted in 6880.
8. IE-301 Integer Linear Programming Modelling and Implementation
pg. 8
The second step was to construct the MILP(Mixed Integer Linear Program)
Parameters:
M=6880 –Possible maximum item can be send from one district the another
𝑑𝑖𝑠𝑡𝑖𝑗=distance difference between district i and j—provided in the excel sheet(i=1,2..,13; j=1,2..,13).
𝑐𝑖=capacity of candidate i for stocking relief supplies. —provided in the excel sheet(j=1,2..,13).
𝑑𝑒𝑚𝑗=demand of district j-—provided in the excel sheet(j=1,2..,13).
Decision Variables:
𝑌𝑖=1 if candidate i is a depot , 0 else. (j=1,2..,13).
𝑋𝑖𝑗=1 if district i can carry relief items to district j, 0 else. (i=1,2..,13; j=1,2..,13).
𝑅𝑖𝑗=# of supplies carried from district i to district j(i=1,2..,13; j=1,2..,13).
Objective Function:
Minimize:Z=∑ ∑ (𝑑𝑖𝑠𝑡𝑖𝑗 ∗ 𝑅𝑖𝑗
13
𝑗=0
13
𝑖=1 *1)
Constraints:
∑ 𝑌𝑖
13
𝑖=1 =5 –Number of depot constraint.
𝑋İ𝐽 ≤ 𝑌İ (i=1,2..,13; j=1,2..,13)---i can only carry items to j if and only if there is a depot in i
∑ 𝑋İ𝐽
13
𝑖=1 ≥ 1 (i=1,2..,13; j=1,2..,13)---j must be supplied by at least one depot
∑ 𝑅İ𝐽
13
𝑗=1 ≤ 𝑌İ ∗ 𝑐𝑖 (i=1,2..,13; j=1,2..,13)---i is capable of suppliying items with respect to its
capacity
𝑋İ𝐽 ≤ 20 ∗ 𝑑𝑖𝑠𝑡𝑖𝑗(i=1,2..,13; j=1,2..,13)---if the distance is more than 20 km i can’t serve j.
∑ 𝑅İ𝐽
13
𝑖=1 =𝑑𝑒𝑚𝑗 (i=1,2..,13; j=1,2..,13)---#number of items sent to j should be equal to demand of j
𝑅𝑖𝑗 ≤ 𝑀 ∗ 𝑋𝑖𝑗 –at most M number of items can be sent from i to j
𝑅𝑖𝑗 ≥0
𝑋İ𝐽 , 𝑌İ 𝜖(0,1)
Here is the CPLEX code:
int M=6880;//Maximum demand of one district
int NDistricts=13;//There are 13 districts that will be supplied
range I=1..NDistricts;//Set of candidates for depot locations
range J=1..NDistricts;//Set of districts
//Note that there are in total 13 districts and also 13 canditates
//Also note that "..." meaning that data is going to be chosen from the excel file
//in the following lines
int dist[i in I,j in J]=...;//Distance from location i to location j
9. IE-301 Integer Linear Programming Modelling and Implementation
pg. 9
int dem[j in J]=...;//Demand of location i for relief supplies
int c[i in I]=...;//Capacity of each candidate distribution points
dvar boolean y[i in I];//if candidate i is assigned as a depot it takes value "1"
dvar boolean X[i in I,j in J];//if location j is assigned to depot location i x
takes value "1"
dvar int+ R[i in I,j in J];//ammount of supply coming from dist point i to j
dvar int Z;//The objective function
minimize Z;
subject to{
Z==sum(i in I,j in J) dist[i,j]*R[i,j] ;//since the price of one relief supply
for per km travelled is one we can directly multiply demand by distance
sum(i in I)y[i]==5;//The project concerns to locate 5 depots
forall(i in I,j in J)
X[i,j]<=y[i];// i can only carry items to j if and only if there is a depot in i
forall(j in J)
sum(i in I)X[i,j]>=1;//Every district must be attained to a distribution
point(atleast)
forall(i in I)
sum(j in J)R[i,j]<=y[i]*c[i];//capacity constraint
forall(j in J)
sum(i in I)R[i,j]==dem[j];//demand of j should be satisfied
forall(i in I,j in J)
R[i,j]<=M*X[i,j];//maximum number of supply carried from i to j
forall(i in I,j in J)
X[i,j]*dist[i,j]<=20;//distance constraint
}
11. IE-301 Integer Linear Programming Modelling and Implementation
pg. 11
Part B
In part B,there are different scenarios and each scenario must be satisfied.Kızılay do not want to risk
anything, hence our program is to determine the specific number of items sent from i to j which
satisfies all the scenarios.There are 20 different scenarios in this part; in addition , all must be
satisfied.Here are the demand data for different scenarios:
The maximum number of demand again is calculated, in order to decide the possible maximum
number of item distribution.
12. IE-301 Integer Linear Programming Modelling and Implementation
pg. 12
Parameters:
MS=7377 –Possible maximum item can be send from one district the another
𝑑𝑖𝑠𝑡𝑖𝑗=distance difference between district i and j—provided in the excel sheet(i=1,2..,13; j=1,2..,13).
𝑐𝑖=capacity of candidate i for stocking relief supplies. —provided in the excel sheet(j=1,2..,13).
𝑢𝑐𝑑𝑒𝑚𝑗𝑠= uncertain demand of district j with respect to scenario s-—provided in the excel
sheet(j=1,2..,13,s=1,2,3,..20).
Decision Variables:
𝑌𝑖=1 if candidate i is a depot , 0 else. (j=1,2..,13).
𝑋𝑖𝑗=1 if district i can carry relief items to district j, 0 else. (i=1,2..,13; j=1,2..,13).
𝑅𝑖𝑗=# of supplies carried from district i to district j(i=1,2..,13; j=1,2..,13).
Objective Function:
Minimize:Z=∑ ∑ (𝑑𝑖𝑠𝑡𝑖𝑗 ∗ 𝑅𝑖𝑗
13
𝑗=0
13
𝑖=1 *1)
Constraints:
∑ 𝑌𝑖
13
𝑖=1 =5 –Number of depot constraint.
𝑋İ𝐽 ≤ 𝑌İ (i=1,2..,13; j=1,2..,13)---i can only carry items to j if and only if there is a depot in i
∑ 𝑋İ𝐽
13
𝑖=1 ≥ 1 (i=1,2..,13; j=1,2..,13)---j must be supplied by at least one depot
∑ 𝑅İ𝐽
13
𝑗=1 ≤ 𝑌İ ∗ 𝑐𝑖 (i=1,2..,13; j=1,2..,13)---i is capable of suppliying items with respect to its
capacity
𝑋İ𝐽 ≤ 20 ∗ 𝑑𝑖𝑠𝑡𝑖𝑗(i=1,2..,13; j=1,2..,13)---if the distance is more than 20 km i can’t serve j.
∑ 𝑅İ𝐽
13
𝑖=1 ≥ 𝑢𝑐𝑑𝑒𝑚𝑗𝑠 (i=1,2..,13; j=1,2..,13; s=1,2,3...20)---in order to satisfy all demands under every
scenario
𝑅𝑖𝑗 ≤ 𝑀𝑆 ∗ 𝑋𝑖𝑗 –at most MS number of items can be sent from i to j
𝑅𝑖𝑗 ≥0
𝑋İ𝐽 , 𝑌İ 𝜖(0,1)
Here is the CPLEX code:
int NDistricts=13;//There are 13 districts that will be supplied
range I=1..NDistricts;//Set of candidates for depot locations
range J=1..NDistricts;//Set of districts
//Note that there are in total 13 districts and also 13 canditates
//Also note that "..." meaning that data is going to be chosen from the excel file
13. IE-301 Integer Linear Programming Modelling and Implementation
pg. 13
//in the following lines
int dist[i in I,j in J]=...;//Distance from location i to location j
int c[i in I]=...;//Capacity of each candidate distribution points
int Nscenarios=20;//Number of Scenarios
range S=1..Nscenarios;//Set of Scenarios
int ucdemand[j in J,s in S]=...;
int MS=7377;
dvar boolean y[i in I];//if candidate i is assigned as a depot it takes value "1"
dvar boolean X[i in I,j in J];//if location j is assigned to depot location i x
takes value "1"
dvar int+ R[i in I,j in J];//ammount of supply coming from dist point i to j
dvar int Z;//The objective function
minimize Z;
subject to{
Z==sum(i in I,j in J) dist[i,j]*R[i,j] ;//since the price of one relief supply
for per km travelled is one we can directly multiply demand by distance
sum(i in I)y[i]==5;//The project concerns to locate 5 depots
forall(i in I,j in J)
X[i,j]<=y[i];
forall(j in J)
sum(i in I)X[i,j]>=1;//Every district must be attained to a distribution
point(atleast)
forall(i in I)
sum(j in J)R[i,j]<=y[i]*c[i]; //capacity constraint
forall(i in I,j in J)
X[i,j]*dist[i,j]<=20;//distance constraint
forall(j in J,s in S)
sum(i in I)R[i,j]>=ucdemand[j,s]; //demand constraint
forall(i in I,j in J)
R[i,j]<=MS*X[i,j];//possible maximum number of supply sent
14. IE-301 Integer Linear Programming Modelling and Implementation
pg. 14
}
Here is the report:
// solution (optimal) with objective 311658
// Quality Incumbent solution:
// MILP objective 3.1165800000e+005
// MILP solution norm |x| (Total, Max) 3.67913e+005 3.11658e+005
// MILP solution error (Ax=b) (Total, Max) 0.00000e+000 0.00000e+000
// MILP x bound error (Total, Max) 0.00000e+000 0.00000e+000
// MILP x integrality error (Total, Max) 0.00000e+000 0.00000e+000
// MILP slack bound error (Total, Max) 0.00000e+000 0.00000e+000
//
Z = 311658;
R = [[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[4347 0 0 4962 0 0 0 0 0 0 0 0 5691]
[0 0 0 0 4899 5191 0 0 0 0 2711 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[240 0 0 0 0 0 7228 1665 3553 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 732 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 2680 2754 0 0 0 0 2189 0 0 0 7377 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]];
y = [0 0 0 1 1 0 1 0 0 1 0 1 0];
X = [[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 0 1 1 1 1 0 1 0 0 0 1 1]
[0 0 0 1 1 1 1 0 1 0 1 0 1]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 0 0 0 1 1 1 1 1 0 1 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 1 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 1 1 1 0 1 0 1 0 0 0 1 1]
[0 0 0 0 0 0 0 0 0 0 0 0 0]];
Optimal objective value is=311658
Computational Time: 01:70
It is no surprise that summation of the elements in the columns of R matrix is equal to the maximum
demand for the corresponding district under among all scenarios.This is the only way to satisfy all the
scenarios. Part B will give the maximum optimal cost for this problem, since the program collects the
maximum demand for each district out of 20 scenarios, in order to satisfy all the scenarios.This is why
the optimal objective value is higher than the part a. Moreover; computational time increased when
part b is compared to the part a which means that the software spent more computational effort.This is
15. IE-301 Integer Linear Programming Modelling and Implementation
pg. 15
just because adding new constraint **∑ 𝑅İ𝐽
13
𝑖=1 ≥ 𝑢𝑐𝑑𝑒𝑚𝑗𝑠**. This constraint definetely increased the
complexity of the problem.
For(j=1;j<=13;i++)
For(s=1;s<=10;s++)
For(i=1;i<=13;i++)
The complexity of this psedue-code which is the representation of the **∑ 𝑅İ𝐽
13
𝑖=1 ≥ 𝑢𝑐𝑑𝑒𝑚𝑗𝑠**
constraint is basically j*s*i.
The interesting part is optimal depot locations are the same as part a. And also optimal values for 𝑋İ𝐽’s
Are the same.This explains why the cost is higher than part a better.Since, matrix R is the multiplied
version of matrix X. Since X matrices are same for part a and b, also the summation of the columns
are higher than part a the optimal objective function value is also greater than part a. Obviously
number of items sent from i to j in part b is greater than the items sent from i to j in part a, hence the
optimal solution of part b’s objective function is greater,since they have the same depot locations
and same assignments for depots.
Part C
In this part, the uncertain data did not change.However, in the first phase of the question, it is stated
that Kızılay is optimistic and it is enough to satisfy 80 percent of the scenarios.In the second phase we
will try the same problem with 60 percent satisfaction of scenarios.
Parameters:
MS=7377 –Possible maximum item can be send from one district the another
𝑑𝑖𝑠𝑡𝑖𝑗=distance difference between district i and j—provided in the excel sheet(i=1,2..,13; j=1,2..,13).
𝑐𝑖=capacity of candidate i for stocking relief supplies. —provided in the excel sheet(j=1,2..,13).
𝑢𝑐𝑑𝑒𝑚𝑗𝑠= uncertain demand of district j with respect to scenario s-—provided in the excel
sheet(j=1,2..,13,s=1,2,3,..20).
16. IE-301 Integer Linear Programming Modelling and Implementation
pg. 16
Decision Variables:
𝑌𝑖=1 if candidate i is a depot , 0 else. (j=1,2..,13).
𝑋𝑖𝑗=1 if district i can carry relief items to district j, 0 else. (i=1,2..,13; j=1,2..,13).
𝑅𝑖𝑗=# of supplies carried from district i to district j(i=1,2..,13; j=1,2..,13).
𝑆𝑐𝑛 𝑠=If scenario s is satisfied it returns 1; 0 otherwise (s=1,2,3...20)
Objective Function:
Minimize:Z=∑ ∑ (𝑑𝑖𝑠𝑡𝑖𝑗 ∗ 𝑅𝑖𝑗
13
𝑗=0
13
𝑖=1 *1)
Constraints:
∑ 𝑌𝑖
13
𝑖=1 =5 --Number of depot constraint.
𝑋İ𝐽 ≤ 𝑌İ (i=1,2..,13; j=1,2..,13)---i can only carry items to j if and only if there is a depot in i
∑ 𝑋İ𝐽
13
𝑖=1 ≥ 1 (i=1,2..,13; j=1,2..,13)---j must be supplied by at least one depot
∑ 𝑅İ𝐽
13
𝑗=1 ≤ 𝑌İ ∗ 𝑐𝑖 (i=1,2..,13; j=1,2..,13)---i is capable of suppliying items with respect to its
capacity
𝑋İ𝐽 ≤ 20 ∗ 𝑑𝑖𝑠𝑡𝑖𝑗(i=1,2..,13; j=1,2..,13)---if the distance is more than 20 km i can’t serve j.
∑ 𝑅İ𝐽
13
𝑖=1 ≥ 𝑢𝑐𝑑𝑒𝑚𝑗𝑠 *𝑆𝑐𝑛 𝑠 (i=1,2..,13; j=1,2..,13; s=1,2,3...20)---in order to satisfy all demands
under every scenario
𝑅𝑖𝑗 ≤ 𝑀𝑆 ∗ 𝑋𝑖𝑗 –at most MS number of items can be sent from i to j
∑13
𝑖=1 𝑆𝑐𝑛 𝑠=16 (s=1,2,3...20)
𝑅𝑖𝑗 ≥0 ,𝑋İ𝐽 , 𝑌İ 𝑆𝑐𝑛 𝑠 𝜖(0,1) (i=1,2..,13; j=1,2..,13; s=1,2,3...20)
Here is the CPLEX code:
int NDistricts=13;//There are 13 districts that will be supplied
range I=1..NDistricts;//Set of candidates for depot locations
range J=1..NDistricts;//Set of districts
//Note that there are in total 13 districts and also 13 canditates
//Also note that "..." meaning that data is going to be chosen from the excel file
//in the following lines
int dist[i in I,j in J]=...;//Distance from location i to location j
int c[i in I]=...;//Capacity of each candidate distribution points
int Nscenarios=20;//Number of Scenarios
range S=1..Nscenarios;//Set of Scenarios
int ucdemand[j in J,s in S]=...;
int MS=7377;
dvar boolean y[i in I];//if candidate i is assigned as a depot it takes value "1"
dvar boolean X[i in I,j in J];//if location j is assigned to depot location i x
takes value "1"
17. IE-301 Integer Linear Programming Modelling and Implementation
pg. 17
dvar int+ R[i in I,j in J];//ammount of supply coming from dist point i to j
dvar int Z;//The objective function
dvar boolean Scn[s in S];//If scene s is satisfied then it returns 1
minimize Z;
subject to{
Z==sum(i in I,j in J) dist[i,j]*R[i,j] ;//since the price of one relief supply
for per km travelled is one we can directly multiply demand by distance
sum(i in I)y[i]==5;//The project concerns to locate 5 depots
forall(i in I,j in J)
X[i,j]<=y[i];// i can serve j if and only if there is a depot in i
forall(j in J)
sum(i in I)X[i,j]>=1;//Every district must be assigned to a distribution
point(atleast)
forall(i in I)
sum(j in J)R[i,j]<=y[i]*c[i];//capacity constraint
forall(i in I,j in J)
X[i,j]*dist[i,j]<=20;//distance constraint
forall(j in J,s in S)
sum(i in I)R[i,j]>=Scn[s]*ucdemand[j,s];//demand contraint of the satisfied
scenarios
sum(s in S)Scn[s]==16;//80 percent satisfaction of scenarios
forall(i in I,j in J)
R[i,j]<=MS*X[i,j];//possible maximum number of carrying items from i to j
}
18. IE-301 Integer Linear Programming Modelling and Implementation
pg. 18
Here is the report:
// solution (optimal) with objective 303513
// Quality Incumbent solution:
// MILP objective 3.0351300000e+005
// MILP solution norm |x| (Total, Max) 3.65988e+005 3.03513e+005
// MILP solution error (Ax=b) (Total, Max) 0.00000e+000 0.00000e+000
// MILP x bound error (Total, Max) 0.00000e+000 0.00000e+000
// MILP x integrality error (Total, Max) 0.00000e+000 0.00000e+000
// MILP slack bound error (Total, Max) 0.00000e+000 0.00000e+000
//
Z = 303513;
R = [[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[4347 0 0 4962 0 0 0 0 0 0 0 0 5691]
[0 0 0 0 4899 5191 0 0 0 0 2711 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[24 0 0 0 0 0 7228 1440 3553 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 7377 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 2680 2754 0 0 0 0 2189 0 0 0 7377 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]];
y = [0 0 0 1 1 0 1 0 0 1 0 1 0];
X = [[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 0 1 1 1 1 0 1 0 0 0 1 1]
[0 0 0 1 1 1 1 0 1 0 1 0 1]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 0 0 0 1 1 1 1 1 0 1 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 1 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0 0]
[1 1 1 1 0 1 0 1 0 0 0 1 1]
[0 0 0 0 0 0 0 0 0 0 0 0 0]];
Scn = [0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0];
Optimal objective value when p=0.8 : 303513 TL
Computational Time: 02:79
***Note that R[10,10] is 7377 ; however, in demand/scenario data there is no demand as 7377 for
Şile under any scenario. But, this is not going to change anything, since the distance between Şile and
Şile is 0.Moreover; Şile is more than 20 km far away from any district, so it cannot send any items to
any district and also there must be a depot in Şile to satisfy the demand of Şile. Therefore, Şile can
20. IE-301 Integer Linear Programming Modelling and Implementation
pg. 20
Computational Time: 02:73
Note that, scenarios 1,3,4,8,13,15,19,20 can not be satisfied.
The optimal solutions for p=0.8 p=0.6 and p=1 are totally different. p=1>p=0.8>p=0.6. The main
reason is when the all scenarios do not necessarily have to be satisfied, Cplex eliminates the
scenarios which cost more ,since the objective funtion tries to minimize the cost.Number of items
sent from i to j decreased for almost every element of the R matrix as p gets closer to 0. For instance
when p=0.8 ammount of supply sent from 4 to 1 was 4371 but when p was P=0.6 of supply sent
from 4 to 1 became 4311. This is what Cplex handles, as we decrese the size of the set of the feasible
region for a minimization problem by relaxing the constraints, we are more prone to observe lower
values for optimal objective funtion solution. The depot locations and their assignments in part c is
again the same as part a and b.
APPENDIX
Code for connecting the data file in part A:
SheetConnection sheet("KizilayData.xlsx");
dist from SheetRead(sheet,"Distances!B2:N14");
dem from SheetRead(sheet,"Demands_CaseA!B2:B14");
c from SheetRead(sheet,"Capacities!B2:B14");
Code for connecting the data file in part B and C:
SheetConnection sheet("KizilayData.xlsx");
dist from SheetRead(sheet,"Distances!B2:N14");
c from SheetRead(sheet,"Capacities!B2:B14");
ucdemand from SheetRead(sheet,"Demands_CaseB_C!B2:U14");
References:
Jamshidi, M. (2009). “Median Location Problem”, Facility Location: Concepts, Models, Algorithms and
Case Studies, Ed. by. R.Z. Farahani and M. Hekmatfar, PhysicaVerlag Heidelberg, pp.177-191
21. IE-301 Integer Linear Programming Modelling and Implementation
pg. 21
J. Reese(2005) ” Methods for Solving the p-Median Problem: An Annotated Bibliography” pp.2-3