Question: September 2 2 , 2 0 2 4 Problem: Consider the Linear Knapsack Problem ( LKP ) Maximize f ( x ) = i =
September
Problem: Consider the Linear Knapsack Problem LKP
Maximize such that
where cdots, s are the binary optimization variables. The data for
the problem are given below
with total capacity
Question : Consider the above Knapsack Problem and construct the following
penalty function
where is the penalty parameter and max
Solve the problem by the binary coded Genetic Algorithm GA using the penalty function
as your fitness function. Parameters for GA: Population size
children per iteration maximum iteration Use the penalty parameter
for the fitness function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
