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, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
What is the main difference between cloud computing and saas? cloud computing is a platform, and saas is software. cloud computing is software, and saas is a platform. cloud computing is a service, and saas is software. cloud computing is a service, and saas is a platform.
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
What is the purpose of network permissions? a)to control access to network resources b)to convert to wireless networking c)to enable the installation of nics d)to reduce operating costs
Answers: 1
You know the right answer?
The problem of searching for cycles in graphs arises naturally in financialtrading applications. con...
Questions
question
Mathematics, 06.01.2021 02:20
question
Mathematics, 06.01.2021 02:20
Questions on the website: 13722361