DOC PREVIEW
UT Dallas CS 6385 - Report

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

PROBLEM STATEMENT:1. You may use lp_solve program - a free-ware. You can download it from the followingweb site: http://lpsolve.sourceforge.net/5.5/2. If you want to use some other lp solver that is fine.3. Solve the following problem and write a report: a. What tool you are using (eg. lp_solve) ? b. features of the tool you are using (as for as lp program solving is concerned). c. The number of nodes for the following program should be at least 10. d. The number of edges should be at least 20. e. Assign some capacity to eache edge. f. Assign a unit cost for capacity. g. assign unit profit.* A telecommunications company sets up routes through its network to servecertain source-destination (S-D) pairs of traffic. We want to assign bandwidth toeach route, under the following conditions:• The routes are fixed and known in advance, each route goes through aknown set of links. (These sets can possibly overlap, as the routes mayshare links.)• Each link has a known available capacity, which cannot be exceeded by theroutes that use the link, in the sense that the sum of the route bandwidths onthe link cannot be more than the link capacity.• Assigning bandwidth to a route has a cost. This cost is proportional to thebandwidth assigned. The cost of unit bandwidth is known for each route(may be different for different routes).• Each route generates a profit, due to the traffic it carries. The profit of eachroute is proportional to the bandwidth assigned to the route. The profitgenerated by unit bandwidth is known for each route (may be different fordifferent routes). Under the above conditions, the company wants to decide how much bandwidth toassign to each route. The goal is that the ratio of the total profit vs. the total costismaximized. In other words, they want to maximize the yield of the bandwidthinvestment in the sense that it brings the highest profit percentage. Formulate thisoptimization problem as a linear programTOOL USEDThe tool used to solve a linear program is “LP_SOLVE”, lp_solve is a Mixed Integer Linear Programming (MILP) solver. The solution to linear programming problem is based on Simplex method or by using Branch and bound method.Basically, lp_solve is a library, a set of routines, called the API that can be called from almost any programming language to solve MILP problems. There are several ways to pass the data to the library:- Via the API- Via input files- Via an IDEThis problem is solved in IDE environment. The maximization function in the given problem is in the form of a fraction. The fraction is then brought to a linear form and the obtained equations is fed to lp_solve. Here is a list of some key features of lp_solve:- Mixed Integer Linear Programming (MILP) solver- Basically no limit on model size- It is free and with sources.- Supports Integer variables, Semi-continuous variables and Special OrderedSets.- Can read model from MPS, LP or user written format.- Models can be built in-memory without the use of files.- Has a powerful API interface.- Easy callable from other programming languages.- Advanced pricing using Devex and Steepest Edge for both primal and dual simplexes.- Provides different scaling methods to make the model more numerical stable.- Has presolve capabilities to tighten constraints/make the model smaller and faster to solve.- Has a base crashing routine to determine a starting point.- Allows restart after making changes to the model. Solve continues from the last found solution.- Possible to select desired combinations of primal and dual phases 1 and 2.- Possible to set several solver parameters like tolerances.- Alternative (and faster) inverse/re-factorisation libraries are provided.- Alternative model readers and writers possible via the XLI implementation.- Has the possibility to convert one model format to another format- Provides post-optimal sensitivity analysis. FEATURES OF TOOL USED IN THE PROJECT.The transformed fraction form of maximization function is directly fed in to lp_solve with the prescribed IDE 5.5.2.0 format. The inequality functions are stated. Now, it’s time to watch out for result, the result can be seen under result tab of the IDE GUI.Since the unit profit should be taken for each of the link and arbitrary capacity, the network is as


View Full Document

UT Dallas CS 6385 - Report

Documents in this Course
assn1

assn1

2 pages

38rel2

38rel2

5 pages

networks

networks

18 pages

lp2

lp2

44 pages

lp2 (2)

lp2 (2)

27 pages

lp1(1)

lp1(1)

21 pages

integer1

integer1

50 pages

FrankR2

FrankR2

3 pages

duality

duality

28 pages

CMST

CMST

44 pages

hw4

hw4

3 pages

for 1

for 1

11 pages

ENCh02

ENCh02

33 pages

pree

pree

2 pages

new  3

new 3

2 pages

new  2

new 2

2 pages

hw4a

hw4a

2 pages

T2_Sol

T2_Sol

4 pages

ISM3

ISM3

8 pages

hw4_sol

hw4_sol

6 pages

Elm04_06

Elm04_06

11 pages

atn proj2

atn proj2

20 pages

12CUT1

12CUT1

8 pages

09Ford

09Ford

23 pages

08FLOW

08FLOW

6 pages

03LP_su

03LP_su

6 pages

40REL40

40REL40

5 pages

39rel3

39rel3

5 pages

38arel2

38arel2

5 pages

37REL1

37REL1

3 pages

24TABU

24TABU

3 pages

22DYNPR

22DYNPR

3 pages

21B&C

21B&C

2 pages

20BBEX0

20BBEX0

3 pages

19BB

19BB

5 pages

14CAPBUD0

14CAPBUD0

11 pages

35BRXCH

35BRXCH

2 pages

34COMB

34COMB

4 pages

32CAPAS

32CAPAS

4 pages

31QUEUE

31QUEUE

3 pages

Load more
Download Report
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Report and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Report 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?