1 / 8

כלים חישוביים – תכנון לינארי

כלים חישוביים – תכנון לינארי. Matlab (optimization toolbox) Maple (with simplex) Solver (by excel). Matlab. x = linprog(f,A,b) x = linprog(f,A,b) solves min f'*x such that A*x <= b. Maple. > cnsts := {3*x+4*y-3*z <= 23, 5*x-4*y-3*z <= 10, 7*x+4*y+11*z <= 30}: obj := -x + y + 2*z:

rhondar
Download Presentation

כלים חישוביים – תכנון לינארי

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. כלים חישוביים – תכנון לינארי • Matlab (optimization toolbox) • Maple (with simplex) • Solver (by excel)

  2. Matlab • x = linprog(f,A,b) x = linprog(f,A,b) solves min f'*x such that A*x <= b

  3. Maple > cnsts := {3*x+4*y-3*z <= 23, 5*x-4*y-3*z <= 10, 7*x+4*y+11*z <= 30}: obj := -x + y + 2*z: maximize(obj,cnsts union {x>=0,y>=0,z>=0}); > maximize(obj,cnsts,NONNEGATIVE); > maximize( x+y, {4*x+3*y <= 5, 3*x+4*y <= 4 } ); > minimize(-obj,cnsts,NONNEGATIVE); > feasible({4*x+3*y <= 5, 3*x+4*y = 4}, NONNEGATIVE); > feasible({4*x-3*y <= 5, 3*x-4*y = 4, x>=0, y>=0 }); > display( { x + 3*y + z <= 0, w - 2*y - z <= 2 } ); > dual( x+y, {3*x+4*y <= 4, 4*x+3*y <= 5}, z );

  4. שימוש ב SOLVER – של: EXELבנית טבלה

  5. שימוש ב SOLVER – של :EXELנוסחאות של טבלה

  6. שימוש ב SOLVER – של: EXEL פקודת חישוב

  7. שימוש ב SOLVER – של :EXELהזמנת דוח רגישות

  8. שימוש ב SOLVER – של :EXEL ניתוח רגישות

More Related