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, 21.06.2019 19:00
When keyboarding, if you want to be fast and accurate you should return your hands on home row with your fingers relaxed and your eyes on the text use only your index fingers to hunt and peck keep your fingers stiff and your eyes on the keys slouch in your chair and keep your fingers hovering over all of the keys
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
You know the right answer?
The problem of searching for cycles in graphs arises naturally in financialtrading applications. con...
Questions
question
History, 26.10.2020 19:40
question
Chemistry, 26.10.2020 19:40
question
Mathematics, 26.10.2020 19:40
Questions on the website: 13722363