subject

The problem of searching for cycles in graphs arises naturally in financialtrading applications. consider a firm that trades shares in n differentcompanies. for each pair i ? = j, they maintain a trade ratio r ij , meaningthat one share of i trades for r ij shares of j. here we allow the rate r to befractional; that is, r ij =23means that you can trade three shares of i to gettwo shares of j. a trading cycle for a sequence of shares i 1 , i 2 , . . , i k consists ofsuccessively trading shares in company i 1 for shares in company i 2 , thenshares in company i 2 for shares i 3 , and so on, finally trading shares in i kbacktosharesincompanyi 1 ., oneendsupwith shares in the same company i 1 that one starts with. trading around acycle is usually a bad idea, as you tend to end up with fewer shares thanyou started with. but occasionally, for short periods of time, there areopportunities to increase shares. we will call such a cycle an opportunitycycle, if trading along the cycle increases the number of shares. thishappens exactly if the product of the ratios along the cycle is above 1. inanalyzing the state of the market, a firm engaged in trading would liketo know if there are any opportunity cycles. give a polynomial-time algorithm that finds such an opportunitycycle, if one exists.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
You know the right answer?
The problem of searching for cycles in graphs arises naturally in financialtrading applications. con...
Questions