fig1 depicts a computer - implemented financial risk optimization system 100 . the financial risk mitigation system 100 can include a model 105 that optimizes general supply and demand networks in order to determine an allocation of financial risk mitigations to exposures . the model 105 can accomplish this based upon such inputs as financial risk mitigation data 110 , exposure data 115 , and relationship data 120 . the mitigation data 110 can represent any number of financial risk mitigations , including , but not limited to , collateral , insurance , credit derivatives , guarantees , netting agreements , and other types of credit risk mitigations . the exposure data 115 can represent loans made by a financial institution . however , it should be understood that there are many other types of financial exposures that can be addressed . for example , a guarantee can be an exposure for a guarantor . the relationship data 120 includes information about one or more “ one - to - many ” relationships 125 between an exposure and a financial risk mitigation . it should be understood that the “ one - to - many ” relationship 125 can also include a “ many - to - many ” relationship . as an illustration , when an exposure is carried by a financial institution , the exposure is often secured by a mitigation . in some instances an exposure can be secured by several mitigations . in other instances , a single mitigation can secure several exposures . in the example of a loan with collateral , the security is provided by an agreement between the lender and the borrower that gives the lender rights in the collateral upon default on the loan by the borrower . thus , the exposure is related to the mitigation by an agreement . it should be understood that not all mitigations may be connected to all exposures . as another illustration , if an exposure is related to a first mitigation and a second mitigation , there are two ways to apply the mitigations to the exposure . one way to apply the mitigations to the exposure is to apply the first exposure first , and the second exposure second . another way to apply the mitigations to the exposure is to apply the second mitigation first , and the first mitigation second . moreover , it should be noted that depending on the sequence in which the mitigations are applied to the exposures , different results can be obtained because of the cost and risk weights that can be associated with applying a mitigation to an exposure . the model 105 can be constructed to address the sequencing issue associated with a “ one - to - many ” type situation in an optimum manner , so as to reduce regulatory capital , thereby decreasing the opportunity cost experienced by a user of the system . the mitigation data 110 , the exposure data 115 , and the relationship data 120 are used to create a generalized network model represented by the data . the network model can be solved using linear programming algorithms . linear programming algorithms include , for example , a simplex algorithm , and an interior point algorithm , among others . it should be recognized however , that these two algorithms may be combined in some instances , and can also include extensions for network optimization . it should therefore also be understood that this disclosure is not intended to be limited to any particular linear programming algorithm . any algorithm that solves a generalized network model can be used in conjunction with this disclosure . in this example , after operation of the linear programming algorithm , the model 105 produces an allocation 130 of mitigations to exposures . the allocation 130 is the solution to the generalized network model as computed by linear programming algorithm ( s ) used by the model 105 . the allocation 130 can provide a user , such as for example a financial institution , with a record of what level of assets should be set aside to account for the unmitigated exposures and the financial risk mitigations . it should be understood that international banking standards and regulations in some instances can require regulatory capital to account for the inherent riskiness of financial risk mitigations themselves , as well as unsecured exposures based on the riskiness of the unsecured exposure . in the example shown in fig1 , the model 105 can analyze the mitigation data 110 , the exposure data 115 and the relationship data 120 in order to provide a proper riskiness measure and / or discount ( s ) to the exposures and mitigations , as well as providing the cost and / or discount associated with a relationship between a mitigation and an exposure . as an illustration the model 105 can accept the exposure - mitigation data 110 , 115 , 120 and provide an allocation of the data based on calculated riskiness measures derived according to the types of mitigations and exposures , as well as discounts and costs associated with the relationships between the mitigations and exposures . fig2 shows another example of a financial risk optimization system 200 . the model 205 accepts mitigation data 210 , exposure data 215 and relationship data 220 , which can be retrieved from a database . the model 205 produces an allocation 230 of the mitigation data 210 to the exposure data 215 . the allocation 230 represent an optimized allocation 235 based on the results of a linear programming algorithm used by the model 205 . it should be noted that the mitigation data 210 in this example includes mitigation riskiness measures 240 as well as mitigation values 245 associated with the mitigations described by the mitigation data 210 . a mitigation value 245 may generally describe the portion of an exposure value associated with the exposure that is covered by the mitigation , while a mitigation riskiness measure 240 describes the risk associated with a particular mitigation . exposure data can also include exposure riskiness measures 250 as well as exposure values 255 associated with the exposures described by the exposure data 215 . an exposure value 255 can generally describe the size of the exposure , while an exposure riskiness measure 250 describes the risk associated with the exposure . relationship data 220 can include or induce a cost factor 260 and a discount factor 265 associated with the relationships between mitigations and exposures . a cost factor 260 may generally describe the cost of applying a mitigation to an exposure , and can be a function of the riskiness measures of the mitigations and exposures . a discount factor 265 can include situations where the exposure and mitigation are in different currencies , or constitute a maturity mismatch between related exposures and mitigations , or any over - collateralization that may be implicated by regulation ( s ). as an illustration of the different types of data that can be used , consider the example where a building secures a loan . in such an example , the building is the mitigation , while the loan is the exposure . the balance of the loan could be $ 1 , 000 , 000 , while the appraised price of the building could be $ 800 , 000 . thus , the exposure value associated with the exposure in this example is $ 1 , 000 , 000 , and the mitigation value associated with the mitigation in this example is $ 800 , 000 . thus , the unsecured portion of the loan is $ 200 , 000 . according to banking regulations , a financial institution should carry regulatory capital of $ 200 , 000 adjusted by some risk weight associated with the exposure , as well as $ 800 , 000 adjusted by some risk weight associated with the mitigation . the risk - weighted assets associated with the mitigation may further be adjusted by the cost factor and / or discount factor as described above . fig3 depicts a further example of a financial risk optimization system 300 . the financial risk optimization model 305 receives mitigation data 310 , exposure data 315 , and relationship data 320 . the data 310 , 315 , 320 in this example have been determined based on agreements entered into by a financial institution . the relationship data is characterized by having one or more “ one - to - many ” relationships between exposures and mitigations described by the exposure data 315 and mitigation data 310 respectively . a generalized network is created based upon the input data . further , the mitigation riskiness measure 340 can include , for example , data regarding a probability of default 370 and a loss given default 375 , among others , to identify the mitigation riskiness measure of a mitigation . similarly , the exposure riskiness measure 350 can also include data regarding a probability of default 380 and a loss given default 375 to identify the exposure riskiness measure of an exposure . the financial risk optimization model 305 can compute an allocation 330 using the data provided . fig4 depicts a block diagram of a computing device 400 that can execute a financial risk optimization model of the present disclosure . the computing device 400 includes a processor 410 which is configured to execute instructions stored in memory , such as a random access memory ( ram ) 420 . the instructions can be transferred to the ram 420 from the non - volatile memory 430 in preparation for execution . it should be understood that the non - volatile memory 430 can further contain other non - instruction data . the processor can communicate with a user , or other program via any supported input / output interfaces . examples of such i / o interfaces can include a monitor , a keyboard , a mouse , and a communication interface to communicate with other computers , among many others . an operating system ( o / s ) executing on the processor can help to facilitate operation of the computer and execution of any applications residing on the computer system 400 . it should be recognized that each of these components of the computing system are readily available in myriad different combinations , and this disclosure is intended to apply equally to all current and future computing systems . the computing system 400 further includes a connection to exposure , mitigation and relationship data stored on a data store 460 . myriad suitable data stores are commercially available from a variety of vendors . it should be noted that the data store 460 can be co - located with the computing system 400 or remotely located from the computing system 400 . the data store 460 can include mitigation and exposure information about the agreements entered into on behalf of the financial institution . this information includes relationship information that links the mitigation data to the exposure data . the computing system 400 also includes a network optimizer 470 . the network optimizer can include one or more linear programming algorithms , configured to find optimal solutions to network problems . one such network optimizer 470 is sas / or ™ 9 , commercially available from sas institute of cary , n . c . the sas / or ™ 9 package can use both a simplex and / or an interior point algorithm to solve the network problems in an effort to achieve optimal allocation of mitigations to exposures . however , it should be understood that the present disclosure is not limited to the sas / or ™ 9 software package . instead the disclosure is intended to include all software packages that are operable to take a generalized network and solve for an optimal solution . it should also be understood that different linear programming instructions can produce different optimal results . for example , an optimal solution could be a solution produced by a particular algorithm , an extension to an algorithm , or combinations of algorithms and / or extensions to the algorithm ( s ). fig5 is a flowchart depicting an operational scenario 500 for financial risk mitigation optimization . the operational scenario begins by receiving mitigation , exposure and relationship data 510 at step 505 . the data 510 is then examined to determine whether it contains a “ one - to - many ” relationship , as shown by decision block 515 . if the data does not include a “ one - to - many ” relationship , there can be only one way in this example to apply the mitigation ( s ) to the exposure ( s ), and the operational scenario performs post processing at terminal block 520 . however , if there are one or more one - to - many relationships between the mitigations and the exposures as determined by decision block 515 , the operational scenario continues by generating a financial risk mitigation optimization model 530 at process block 525 . the financial risk optimization model 530 can then be used to generate many different types of results , represented by post processing block 520 , such as , for example , results to help a user determine an amount of regulatory capital the user should have in order to comply with industry regulations . it should be understood that similar to the other processing flows described herein , the steps and the order of the steps in the flowchart described herein may be altered , modified and / or augmented and still achieve the desired outcome . for example , fig6 depicts another operational scenario 600 for financial risk mitigation optimization . with reference to fig6 , the system receives mitigation , exposure and relationship data 601 from a data store at block 605 . the data 601 is then examined to determine whether it contains a one - to - many relationship , as shown by decision block 610 . if the data does not include a “ one - to - many ” relationship , there can be only one way in this example to apply the mitigation ( s ) to the exposure ( s ). a risk - weighted assets analysis is then performed at process block 615 . after performing the risk - weighted assets analysis , the process outputs the risk - weighted assets analysis and ends at terminal block 620 . with reference back to decision block 610 , if there is a one - to - many relationship between exposure ( s ) and mitigation ( s ), the system can calculate riskiness measures for the exposure ( s ) and mitigation ( s ) at process block 625 . the value of the exposure ( s ) and mitigation ( s ) is computed at process block 630 . the relationships between the exposure ( s ) and mitigation ( s ) are established at process block 635 . at process block 640 , any discount factors for the exposures and mitigations are calculated . the system can then construct a generalized network model at process block 645 . the generalized network model is then used as input into the financial risk mitigation allocation optimization process block 650 . the financial risk mitigation allocation optimization process block produces a financial risk mitigation model optimization model 651 . at process block 615 , the system uses the financial risk mitigation optimization model to perform a risk - weighted asset analysis of the model . the system then outputs the result of the risk - weighted assets analysis . as described above , financial exposures can be offset by financial risk mitigations such as , for example , collateral , guarantees , netting , credit derivatives , and insurance , among others . one example of such a regulation is the “ international convergence of capital measurement and capital standards ”, known as basel ii ( 2004 ), which states that , for example : financial exposures are to be risk weighted according to their financial qualities ; if an eligible financial risk mitigation is present with an exposure , then the risk weight of the financial risk mitigation can be used as the risk weight of the portion of the exposure that is covered by the financial risk mitigation ; the applicable value of the financial risk mitigation can be adjusted according to the nature of the mitigation . thus , a financial risk system as disclosed herein that calculates the regulatory capital requirement can handle the above requirement for a large number of exposures and financial risk mitigations . regulatory capital , can be summarized as the computation of the aggregated risk weighted assets : rwa = ∑ i = 1 n ⁢ ⁢ ear i ⁢ rw i , ( 1 ) where rwa stands for risk - weighted - assets , ear stands for exposure - at - risk and rw is the risk eight . the total number of exposures is n . when financial risk mitigations are present with an xposure , the exposure can be decomposed into an unsecured portion and several secured portions that take the adjusted value of the financial risk mitigation . the secured portions take the risk weights that are correspondent to the mitigations . the unsecured portion takes the risk weight of the exposure itself . the risk weight asset in equation ( 1 ) can now be written as rwa = ∑ i = 1 n ⁢ ⁢ ( ( ∑ j i = 1 m i ⁢ ⁢ sec j i ⁢ rw j i ) + usec i ⁢ rw i ) ( 2 ) where sec is the secured portion and usec is the unsecured portion . exposures in some instances can be secured by several financial risk mitigations . similarly , mitigations in some instances can secure several exposures . without considering adjustments to the value of the financial risk mitigations , the equation ( 2 ) can formulate a minimum cost network flow problem . to adjust for the potential changes in the material value of the financial risk mitigations , additional adjustments can be made based upon the nature of the mitigations . for example , basel 11 ( 2004 ) implicates haircut discounts to financial collaterals and nettings . in addition , if the exposure and financial risk mitigations are in different currencies , further haircut discounts can be made to account for the fluctuation of the foreign exchange rate dynamics . since the discount may depend on both the exposures and the financial risk mitigations , it is are dependent . using the generalized network model , discounts can also be added to the arc to represent the attrition in the goods . in the above example the discounts are represented by multipliers m j i . let cv j i be the value of the financial risk mitigation that secures the exposure i . the secured portion sec j i in equation ( 2 ) can be written as the multiplication of the value of the financial risk mitigation that secures the exposure and the appropriate multiplier for this pair of exposure and mitigation . equation ( 3 ) reflects the risk weighted function in this case . rwa = ∑ i = 1 n ⁢ ⁢ ( ( ∑ j i = 1 m i ⁢ ⁢ cv j i ⁢ m j i ⁢ rw j i ) + usec i ⁢ rw i ) ( 3 ) the minimum cost generalized network minimizes the equation ( 3 ) given the exposure - mitigation relation constraints . the generalized network can be represented in a network framework by adding transition nodes as well . transition nodes can operate as another layer of nodes between the exposure and mitigations and can handle , for example , the discounting function , as an alternative to using the directed arc to handle the discounting function . a generalized network is then solved by a model having access to a linear programming algorithm in order to optimize the financial risk mitigation situation . fig7 provides a visualization depiction of an example generalized network model problem that can be solved using financial risk mitigation optimization techniques disclosed herein . in this example , a node is an entity in the network and could be suppliers , demanders or transition ; an arc is the path from one entity to another ; a directed network is a network that has only directed arcs ; and arc cost is the cost associated with an arc when goods are moved from one end of the arc to the other . the generalized network model can be automatically constructed by a computer program that has access to the mitigation , exposure and relationship data . the data could be accessed from any number of data stores , such as data structures , database tables , data files , etc . data about the mitigations can be used to generate supply nodes , while data about the exposures can be used to generate to demand nodes . data about the relationships between the exposures and mitigations can be used to generate directed arcs , and the cost of applying a mitigation to an exposure can be assigned to an arc &# 39 ; s cost . in fig7 there are three exposures e 1 705 , e 2 710 , and e 3 715 and four financial risk mitigations c 1 720 , c 2 725 , c 3 730 , and c 4 735 . the node nc 740 supplies the unsecured portions of the exposures in the diagram so as to balance the network . the financial risk mitigations act as supply nodes and exposures as demand nodes . the flow costs are the risk weights associated with the mitigations . the arcs indicate possible links between financial risk mitigations and exposures based upon the financial institution &# 39 ; s agreements . in the case of the example in fig7 , exposure e 1 705 is secured by c 1 720 and c 2 725 , e 2 710 is secured by c 3 730 , and e 3 715 is secured by c 3 730 and c 4 735 . amounts flowing out of the nc node take the risk weight of the correspondent exposure . the first number on each arc ( exposure - mitigation relation ) indicates the cost ( risk weight ) associated with the arc . ( in addition to the nodes shown in the graph , a “ sink ” node acting as a dummy exposure could be used in some situations , such that it is connected with all the supply nodes in order to drain any extra supply away from the arcs so that the flows on the arcs are balanced .) 1 . e 1 705 has an exposure at default ( ead ) of $ 100 and is risk weighted 200 %. e 2 710 has an ead of $ 110 and is risk weighted 300 %. e 3 715 has an ead of $ 200 and is risk weighted 250 %. 2 . c 1 720 and c 3 730 are financial collaterals , c 2 725 is a guarantee , and c 4 735 is a receivable collateral . c 1 720 is worth $ 70 . c 2 725 is worth $ 60 and is risk weighted 50 %. c 3 730 is worth $ 100 . c 4 735 is worth $ 150 and is risk weighted 75 %. 3 . the directed arc in fig7 represents the possible coverage between the financial risk mitigations and exposures . these are usually specified by the business contracts and can be altered . financial collaterals can be subject to haircut adjustments ( based on collateral itself and also currency mismatch adjustment if necessary ). for this problem , the haircut adjustments can be ssumed to be multipliers ( e 1 , c 1 )= 0 . 7 , ( e 2 , c 3 )= 0 . 8 , ( e 3 , c 3 )= 0 . 7 . the guarantee has no adjustment , so the multiplier on ( e 1 , c 2 )= 1 . the receivable is subject to an over - collateralization adjustment , which results in the multiplier ( e 3 , c 4 )= 0 . 8 . regulations indicate that the risk weighted asset should be calculated in accordance with equation ( 3 ). in addition the bank also needs to report the risk weight for the secured and unsecured portion of each exposure . in the example of fig7 , there are quite a few ways that the bank could apply the financial risk mitigations to the exposures . 1 . for e 1 , there are two possible ways to apply the mitigations : the secured portion by c 1 is $ 49 with 0 % risk weight and the secured portion by c 2 is $ 51 with 50 % risk weight . the rwa for e 1 is 51 * 50 %+ 49 * 0 %= 25 . 5 . the secured portion by c 2 is $ 60 with risk weight 50 % and the secured portion by c 1 is $ 40 with 0 % risk weight . the rwa for e 1 is 60 * 50 %+ 40 * 0 %= 30 . 2 . e 2 and e 3 share c 3 but e 4 has sole claim to c 4 . there are two ways to apply the mitigations : a . e 2 is secured by c 3 and e 3 secured by c 4 : the secured portion of e 2 by c 3 is $ 80 with 0 % risk weight , and unsecured portion is $ 30 with 300 % risk weight . the rwa for e 2 is 80 * 0 %+ 30 * 300 %= 90 . the secured portion of e 3 by c 4 is $ 120 with 75 % risk weight and unsecured portion is $ 80 with 250 % risk weight . the rwa for e 3 is 120 * 75 %+ 80 * 250 %= 290 . the total rwa for e 2 and e 3 in this case is 380 . b . e 3 is secured by c 3 and c 4 . e 2 is completely unsecured . the secured portion of e 3 by c 3 is $ 70 with risk weight 0 % and the secured portion of e 3 by c 4 is $ 120 with risk weight 75 %. the unsecured portion is $ 10 with risk weight 250 %. the rwa for e 3 is 70 * 0 %+ 120 * 75 %+ 10 * 250 %= 185 . the rwa for e 2 is 110 * 300 %= 330 . the total rwa for e 2 and e 3 is 515 . overall there are four possible ways to allocate the financial risk mitigation in this small example ( 1 ( a )- 2 ( a ); 1 ( a )- 2 ( b ); 1 ( b )- 2 ( a ); 1 ( b )- 2 ( b )). a model is constructed and determines that the optimal solution to this example is the 1 ( a )- 2 ( a ) combination , where the total rwa is 405 . 5 ( 25 . 5 + 380 = 405 ). the worst case is the 1 ( b )- 2 ( b ) combination where the total rwa is 545 ( 30 + 515 = 545 ). using this disclosure a financial institution can find a best case scenario for a large portfolio of exposures and mitigations . for example , a financial institution &# 39 ; s portfolio could include on the order of millions of exposures and mitigations , which can implicate a vast number of possible solutions . while examples have been used to disclose the invention , including the best mode , and also to enable any person skilled in the art to make and use the invention , the patentable scope of the invention is defined by claims , and may include other examples that occur to those skilled in the art . for example , financial institutions may have millions of exposures and financial risk mitigations , each worth hundreds of thousands of dollars . thus , the differences in the rwa due to mitigation allocations can be drastic . a financial risk optimization model can be configured as disclosed herein to efficiently solve this problem and can report the secured and unsecured portion directly from the optimization result . a financial risk mitigation optimization solution could also be configured to include : efficient solution for large number of exposures and financial risk mitigations that are typical to most banks ; execution of relations according to the contractual rules ; optimal allocation of mitigations ; generalized results that separate the portions of the exposure that are covered by different financial risk mitigations as indicated by the some regulations ; calculations of the capital requirements and optimal allocations through the generalized minimum cost network are conveniently implemented by existing linear programming network optimization models ; the solution to the optimization can help financial institutions determine priority between the exposures and financial risk mitigations thereby lowering the financial institution &# 39 ; s regulatory capital . it is further noted that the systems and methods may be implemented on various types of computer architectures , such as for example on a single general purpose computer or workstation , or on a networked system , or in a client - server configuration , or in an application service provider configuration . it is further noted that the systems and methods may include data signals conveyed via networks ( e . g ., local area network , wide area network , internet , etc . ), fiber optic medium , carrier waves , wireless networks , etc . for communication with one or more data processing devices . the data signals can carry any or all of the data disclosed herein that is provided to or from a device . additionally , the methods and systems described herein may be implemented one many different types of processing devices by program code comprising program instructions that are executable by the device processing subsystem . the software program instructions may include source code , object code , machine code , or any other stored data that is operable to cause a processing system to perform methods described herein . other implementations may also be used , however , such as firmware or even appropriately designed hardware configured to carry out the methods and systems described herein . the systems &# 39 ; and methods &# 39 ; data ( e . g ., associations , mappings , etc .) may be stored and implemented in one or more different types of computer - implemented ways , such as different types of storage devices and programming constructs ( e . g ., data stores , ram , rom , flash memory , flat files , databases , programming data structures , programming variables , if - then ( or similar type ) statement constructs , etc .). it is noted that data structures describe formats for use in organizing and storing data in databases , programs , memory , or other computer - readable media for use by a computer program . the systems and methods may be provided on many different types of computer - readable media including computer storage mechanisms ( e . g ., cd - rom , diskette , ram , flash memory , computer &# 39 ; s hard drive , etc .) that contain instructions for use in execution by a processor to perform the methods &# 39 ; operations and implement the systems described herein . the computer components , software modules , functions , data stores and data structures described herein may be connected directly or indirectly to each other in order to allow the flow of data needed for their operations . it is also noted that a module or processor includes but is not limited to a unit of code that performs a software operation , and can be implemented for example as a subroutine unit of code , or as a software function unit of code , or as an object ( as in an object - oriented paradigm ), or as an applet , or in a computer script language , or as another type of computer code . the software components and / or functionality may be located on a single computer or distributed across multiple computers depending upon the situation at hand . it should be understood that as used in the description herein and throughout the claims that follow , the meaning of “ a ,” “ an ,” and “ the ” includes plural reference unless the context clearly dictates otherwise . also , as used in the description herein and throughout the claims that follow , the meaning of “ in ” includes “ in ” and “ on ” unless the context clearly dictates otherwise . finally , as used in the description herein and throughout the claims that follow , the meanings of “ and ” and “ or ” include both the conjunctive and disjunctive and may be used interchangeably unless the context clearly dictates otherwise ; the phrase “ exclusive or ” may be used to indicate situation where only the disjunctive meaning may apply .