Question
Please the solution must be in compact form only not simple form, simple form will be rejected.
Only Compact form accepted only
Question 3: Formulate the LP model for the following problem in compact form The harvest of cane sugar in Australia is highly
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER :

Given Data

Proclines = 3 ;

Proctime = 2;

Loss = [43;26;37;28;13;54;62;49;19;28;30] ;

life Span = [ 8;8;2;8;4;8;8;8;8;8;8] ;

n_{1}   = length (loss);

n_{2} = Ceiln1 Proclines ;

Proc = tom('Proc' ,  n_{1} , n_{2} , 'int') ;

% All slots are integers

intcons = {0 < Proc<1}:

% Production constraint , all lots processed

Prod cons 1 = {Sum (Proc , 2 )==1} ;

% Production constraint , no more than proclines concurrently running

Prod cons 2 = { Sum (Proc , 1) \leq Proclines};

% maximum slot number for a lot

slotcons = { Sum (Proc ,* repmat (1:n_{2}, n_{1} ,1) ,2) \leq lifespan / proctime };

% Objective

Objective = Sum (Sum (Repmat (1 : n_{2} , n_{1} , 1 ) * repmat (loss , 1 , n_{2} ) * Proctime ,*Proc ));

Constraints = { intcons , Prodcons 1 , Prodcons 2 , Slotcons };

Options = Struct ;

options . solver = 'cplex ' ;

options . name = ' cane sugar Production' ;

Sol = ezsolve ( Objective , Constraints , \square , options ) ;

f _ k = Subs ( Objective , sol ) ;

Priler = 1 ;

if prilev > 0

lots = Length ( life span ) ;

time slots = ceil ( lots/ proclines (1)) ; % even a fraction means work .

temp = Sol . proc ;

disp [ ' To minimize loss ( ' num 2 str(f_k)' ) use this schema '])

for time = 1 : timeslots ;

disp (['at' num 2 str ((time - 1 )*Proctime (1) +8) !00'.])

idX = find (temp ( : , time )) ;

disp ( [ ' process the lots ' num 2 str (idx')])

end

disp (['at ' num2str((time)*Proctime (1)+8)'00:])

disp ('harvesting completed ')

end.

[Please please give me like]..

Add a comment
Know the answer?
Add Answer to:
Please the solution must be in compact form only not simple form, simple form will be...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Read the following letter and help Shady Slim with hls tax situation. Please assume that his...

    Read the following letter and help Shady Slim with hls tax situation. Please assume that his gross Income Is $173,520 (which consists only of salary) for purposes of this problem. December 31, 2018 To the frlendly student tax preparer: HI·it's Shady Slim again. I just got back from my 55th birthday party, and I'm told that you need some more information from me In order to complete my tax return. I'm an open book! I'll tell you whatever think you...

  • Read the following letter and help Shady Slim with his tax situation. Please assume that his...

    Read the following letter and help Shady Slim with his tax situation. Please assume that his gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2015 To the friendly student tax preparer: Hi, it’s Shady Slim again. I just got back from my 55th birthday party, and I’m told that you need some more information from me in order to complete my tax return. I’m an open book! I’ll tell you whatever I...

  • Read the following letter and help Shady Slim with his tax situation. Please assume that his...

    Read the following letter and help Shady Slim with his tax situation. Please assume that his gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2019 To the friendly student tax preparer: Hi, it’s Shady Slim again. I just got back from my 55th birthday party, and I’m told that you need some more information from me in order to complete my tax return. I’m an open book! I’ll tell you whatever I...

  • Read the following letter and help Shady Slim with his tax situation. Please assume that his...

    Read the following letter and help Shady Slim with his tax situation. Please assume that his gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2019 To the friendly student tax preparer: Hi, it’s Shady Slim again. I just got back from my 55th birthday party, and I’m told that you need some more information from me in order to complete my tax return. I’m an open book! I’ll tell you whatever I...

  • Required information [The following information applies to the questions displayed below.] Read the following letter and help Shady Slim with his tax situation. Please assume that gross income is $172...

    Required information [The following information applies to the questions displayed below.] Read the following letter and help Shady Slim with his tax situation. Please assume that gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2018 To the friendly student tax preparer: Hi, it’s Shady Slim again. I just got back from my 55th birthday party, and I’m told that you need some more information from me in order to complete my tax...

  • 52. Read the following letter and help Shady Slim with his tax situation. Please assume that...

    52. Read the following letter and help Shady Slim with his tax situation. Please assume that his gross income is $172,900 (which consists only of salary) for purposes of this problem. December 31, 2019 To the friendly student tax preparer: Hi, it's Shady Slim again. I just got back from my 55th birthday party, and I'm told that you need some more information from me in order to complete my tax return. I'm an open book! I'll tell you whatever...

  • answer the questions based on the informations on the 3 pictures please: What are the essential...

    answer the questions based on the informations on the 3 pictures please: What are the essential responsibilities of a structural designer or engineer in designing a structure? What factors would you consider and why when planning the design of a building structure? You are the project team leader for the design of a single family house in southwest Houston area. Discuss the types of structural loads you think are important and explain why.​​​​​​​ d) Thermal load changes in perature cause...

  • This year Evan graduated from college and took a job as a deliveryman in the city....

    This year Evan graduated from college and took a job as a deliveryman in the city. Evan was paid a salary of $68,500 and he received $700 in hourly pay for part-time work over the weekends. Evan summarized his expenses below: Cost of moving his possessions to the city (125 miles away) Interest paid on accumulated student loans Cost of purchasing a delivery uniform Contribution to State University deliveryman program $1,200 2,840 1,440 1,320 Calculate Evan's AGI and taxable income...

  • can you please complete the income statement (last photo) other pages are for refernce. please let...

    can you please complete the income statement (last photo) other pages are for refernce. please let me know what additional information is needed to complete the question TOLED Tuy Demstalled, but first we need to close some apps. Update now A B C D E F G H J K L M N O P Q R S OPERATIONAL & COST INFORMATION: For simplicity, base all calculations using 30 days in each month m OPERATIONAL DATA Grooming: The Groomer can...

  • please help with COS schedule, income statement, and variances. everything is completed and added for reference....

    please help with COS schedule, income statement, and variances. everything is completed and added for reference. please complete the last 3 sections View Help i SUBSCRIPTION EXPIRED To keep using Excel without interruption, please reactivate now. Reactivate H32 X : B for D A C E F G H I J K L M N O P Q 43 For simplicity, base all calculations using 30 days in each month OPERATIONAL DATA Grooming: The Groomer can groom 5 dogs a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT