Disclosure of Invention
The invention aims to solve the technical problem of providing a multi-target-based capital pool payment sequence optimization method, a multi-target-based capital pool payment sequence optimization system, a computer-readable storage medium and a multi-target-based capital pool payment sequence optimization device, and solving the contradiction between quick account arrival required by domestic merchants and capital payment pressure of a third-party payment platform in the conventional third-party payment service.
In order to solve the problems, the invention provides a multi-objective-based funding pool payment sequence optimization method, which comprises the following steps:
s1: acquiring data to be paid and account arrival data which enter and exit a fund pool within a period of time, wherein the data to be paid at least comprises the latest payment time limit of each fund to be paid;
s2: establishing an optimized objective function of a capital pool payment sequence by taking the latest payment time limit of each capital which is less than or equal to the actual payment time of each capital of the capital pool as a constraint condition and taking the minimum gross payment capital and the fastest total payment time of the capital pool as optimization objectives in the whole payment process;
s3: generating an initial solution of a fund pool payment sequence on the premise of meeting the constraint condition, and optimizing the initial solution of the fund pool payment sequence on the basis of the objective function to obtain an optimal solution set of the fund pool payment sequence; the fund pool payment sequence comprises a payment time sequence in the time period and a corresponding payment amount sequence;
s4: selecting an optimal solution from the optimal solution set according to a preset payment limit;
s5: and paying according to the optimal solution of the fund pool paying sequence.
According to one embodiment of the invention, the objective function of the fund pool payout sequence optimization is:
wherein,is a payment sequence; t isleadFor a time period D after the time kTIn the whole payment process, the sum of the payment time of all funds to be paid in advance; correspondingly, P is the total fund amount required for the payment from the fund pool to the outside in the whole payment process.
According to one embodiment of the invention, a time period D after time kTIn the whole payment process, the sum T of the payment time advanced by all funds to be paidleadExpressed by the following formula (2):
wherein, tlead(l) The payment time advanced for each outward payment of funds,
Dk(l) The latest payment time limit for the first to-be-paid funds,actual payment time for the first fund to be paid; m is the total number of funds to be paid.
According to one embodiment of the invention, a time period D after time kTThe total fund amount P required to be paid in the fund pool in the whole payment process is expressed by the following formula (4):
p (i) the amount of funds required to be paid per fund to be paid, and m is the total number of funds to be paid.
According to one embodiment of the invention, the step of calculating p (i) comprises:
for a period D after the time kTInternal and fund flow payment sequenceIn the actual payment time seriesAnd account time sequence T ═ Tk(1),Tk(2),Tk(3),...,Tk(n-1),Tk(n)]Rearranging the data according to ascending time sequence to obtain a combined time sequence
ComputingWhen in useIs less thanWhen p (i) is 0;
wherein a is the actual payment timeBefore, the last capital payment needing to be paid for is paid in the actual payment time sequenceThe order of (1); j is the last capital payment to be paidIn between, the first pending funds to be credited in the crediting time series TkThe order of (1); z is the last capital payment to be paidIn between, the last pending account fund is in the account time sequence TkThe order of (1); o isk(l) A payment amount for the first fund to be paid; i isk(f) And f, the amount of the account to be paid is the f.
According to an embodiment of the present invention, the step S3 includes the steps of:
s31: the number of iterations g is initially set, and a time period D after the time k is generatedTTime series of initial paymentsThe corresponding payment sequence is
S32: time-series of the initial paymentRearranging the time sequence and the account time sequence according to the ascending time sequence to obtain a brand new combined time sequence
S33: based onCalculating a sequence of paymentsNext, a period D after the time kTIn accordance withThe sum T of the payment time advanced by all the funds to be paid in the whole process of paymentlead0Reciprocal of (a), and total amount of funds P required to be paid in the fund pool0;
S34: will be provided withAs an initial optimal solution for the payout sequence, put into the optimal solution set S of the payout sequence of the fund poolbestIn and (2) mixingAssigning the current solution S;
s35: updating the iteration number g, for each element of the current solution SPerforming mutation operation to obtain new productPayment sequence ofPayment sequenceEach element ofFrom each element of the current solution SObtaining after mutation;
s36: actual payment time obtained by variationComposed payment time seriesRearranging the time sequence and the account time sequence according to the ascending time sequence to obtain a brand new combined time sequence
S37: based onCalculating pay time series obtained at varianceNext, a period D after the time kTIn accordance withThe sum T of the payment time advanced by all the funds to be paid in the whole process of paymentlead1Reciprocal of (a), and total amount of funds P required to be paid in the fund pool1;
S38: will pay forTime seriesAnd the optimal solution set S before optimizationbestIn the method, Pareto domination comparison is carried out under two dimensions of the sum of the gross fund amount of the payment and the advanced payment time, the updating of an optimal solution set is carried out, and the payment sequence is carried outAssigning the current solution S;
s39: judging whether the iteration times g reach a preset value, if not, returning to the step S35, and continuing to perform iteration optimization; otherwise, the optimal solution set is output, and step S4 is executed.
According to an embodiment of the present invention, the step S4 includes:
s41: according to the total fund amount P required to be paid in the fund pool and the sum T of the payment time advanced by all funds to be paidleadEstablishing a coordinate system according to the relation between the inverses;
s42: set the optimal solution SbestDrawing Pareto front edges through two-dimensional planes by all solutions in the solution;
s43: drawing a straight line x ═ gamma A perpendicular to coordinate axes, cutting off the Pareto front edge, and obtaining the total fund amount closest to the intersection pointThe sequence of (a) is used as an optimal solution, wherein gamma is a preset capital payment margin coefficient, and A is an expected payment limit.
According to an embodiment of the invention, in the step S31, an initial payment time sequenceFor random generation, the generation formula of each payment time is as follows:
wherein Random (0, 1) is [0, 1]]Random real numbers in between; dk(l) The latest payment time limit for the first to be paid funds.
According to an embodiment of the invention, in the step S35, the payment sequenceEach element ofByThe mutation step comprises:
let R2 Random (0, 1) -1, i.e. R is a Random real number between [ -1, +1], calculated according to the following formula:
wherein Random (0, 1) is [0, 1]]Random real numbers in between; dk(1) The latest payment time limit for the first to be paid funds.
According to an embodiment of the present invention, the step S38 includes:
suppose that the optimal solution set S at this timebestThe Pareto frontier formed by o optimal solutions is totally contained in the solution, and the single optimal solution is recorded asq∈[1,...o]Will pay time seriesAnd the optimal solution set S before optimizationbestThe total amount of funds paid in the course of the payment and the advance paymentPerforming Pareto domination comparison under two dimensions of the sum of time, updating the optimal solution set by adopting the following principle, and updating the optimal solution set by adopting the following principle:
for a q from 1 to o,
increasing the iteration number g and paying the sequenceThe current solution S is given.
According to one embodiment of the invention, the data to be paid at least comprises the number of funds to be paid, the latest payment time limit of each fund to be paid and the payment amount of each fund to be paid; the account data at least comprises the number of the funds to be accounted, the account time of each fund to be accounted and the account amount of each fund to be accounted.
The invention also provides a multi-objective-based capital pool payment sequence optimization system, which comprises:
the data acquisition module is used for acquiring data to be paid and account arrival data which enter and exit the fund pool within a period of time, wherein the data to be paid at least comprises the latest payment time limit of each fund to be paid;
the target function establishing module is used for executing a target function which takes the latest payment time limit of each fund as a constraint condition, wherein the actual payment time of each fund in the fund pool is less than or equal to the latest payment time limit of each fund, and in the whole payment process, the target function which is optimized by the fund pool payment sequence is established by taking the minimum gross payment fund amount and the fastest total payment time in the fund pool as optimization targets;
the target optimization module generates an initial solution of the fund pool payment sequence on the premise of meeting the constraint condition, and optimizes the initial solution of the fund pool payment sequence on the basis of the target function to obtain an optimal solution set of the fund pool payment sequence; the fund pool payment sequence comprises a payment time sequence in the time period and a corresponding payment amount sequence;
the optimal solution selection module is used for selecting an optimal solution from the optimal solution set according to a preset payment limit;
and the payment module executes payment according to the optimal solution of the fund pool payment sequence.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a multi-objective based funding pool payment sequence optimization method as described in any of the preceding embodiments.
The present invention also provides a computer apparatus comprising a memory and a processor and a computer program stored on the memory and being invoked by the processor, when executing the computer program, implementing a method of multi-objective based funding pool payment sequence optimization as claimed in any one of the preceding embodiments.
After the technical scheme is adopted, compared with the prior art, the invention has the following beneficial effects:
according to the data to be paid and the account arrival data in a certain time period, a payment sequence and payment amount backing optimization method is adopted, so that on the premise that constraint conditions are met, when a third-party payment platform finishes each external payment according to the optimized payment sequence, the total fund payment amount is kept in a preset amount, and the payment time is as fast as possible, and the beneficial effects of providing high-quality quick account arrival service for merchant customers and reducing the cost and pressure of the payment backing amount are achieved;
the method selects a multi-objective optimization algorithm to carry out iterative optimization on the capital payment sequence, does not need cross operation among chromosomes, can carry out high-efficiency global search on a solution space only through mutation operation, greatly improves the speed and efficiency of solving the optimization problem, and meanwhile, can effectively process the optimization problem with upper and lower limit constraints based on a bit variation strategy realized by real number coding.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
Referring to FIG. 1, in one embodiment, a multi-objective based funding pool payout sequence optimization method includes the steps of:
s1: acquiring data to be paid and account arrival data which enter and exit a fund pool within a period of time, wherein the data to be paid at least comprises the latest payment time limit of each fund to be paid;
s2: establishing an optimized objective function of a capital pool payment sequence by taking the latest payment time limit of each capital which is less than or equal to the actual payment time of each capital of the capital pool as a constraint condition, and taking the minimum gross payment capital and the fastest total payment time of the capital pool as optimization objectives in the whole payment process;
s3: generating an initial solution of a fund pool payment sequence on the premise of meeting the constraint condition, and optimizing the initial solution of the fund pool payment sequence on the basis of the objective function to obtain an optimal solution set of the fund pool payment sequence; the fund pool payment sequence comprises a payment time sequence in the time period and a corresponding payment amount sequence;
s4: selecting an optimal solution from the optimal solution set according to a preset payment limit;
s5: and paying according to the optimal solution of the fund pool paying sequence.
The fund pool payment optimization method according to the embodiment of the present invention is described in detail below, but should not be construed as being limited thereto.
In step S1, data to be paid and account data to be entered and exited into the fund pool within a time period are acquired, and the data to be paid at least includes the latest payment time limit of each fund. The specific length of the time period is not limited, but at least comprises a plurality of data to be paid and account-arriving data, and the data is used as input for optimization. The time period is obviously a time period of about to occur fund flow input and output to and from the fund pool, the payment condition of the fund pool in the time period is optimized this time, another time period can be replaced by sub-optimization, and the two time periods can be overlapped or not overlapped, and are not limited specifically.
Preferably, the data to be paid at least comprises the number of funds to be paid, the latest payment time limit of each fund to be paid and the payment amount of each fund to be paid; the account data at least comprises the number of the funds to be accounted, the account time of each fund to be accounted and the account amount of each fund to be accounted. Of course, the data to be paid and the billing data may also include other data information, without being limited thereto.
Specifically, assume that at time k, there are m cash withdrawal requests to be paid for a fund pool, and the latest payment period per withdrawal is Dk(1) The amount is Ok(l),l∈[1,…m]Which isIn Dk(1) In ascending chronological order, i.e. Dk(1)≤Dk(2)≤Dk(3)≤…≤Dk(m-1)≤Dk(m) corresponding to Ok(l) And Dk(1) Sorted correspondingly.
A period D after the time kTIn the method, n funds are required to be paid out, and the time for paying out is Tk(j) The amount of account is Ik(j),j∈[1,...n]Wherein T iskIn ascending order, i.e. Tk(1)≤Tk(2)≤Tk(3)≤…≤Tk(n-1)≤Tk(n); i.e. for the third party payment system, a period of time D from time k into the futureTIn addition, the following two input and output fund flows are arranged in ascending time sequence and are respectively represented by table (1) and table (2):
TABLE (1) Fund flow S to be outputGo out
Table (2) to-be-input fund flow SInto
In the embodiment of the invention, the fund flow S to be outputGo outAnd the fund flow S to be inputIntoAre known and established.
Then, step S2 is executed to establish a mathematical model of the payment sequence and the payment amount problem: and establishing an objective function for optimizing the payment sequence of the capital pool by taking the latest payment time limit of each capital which is less than or equal to the actual payment time of each capital of the capital pool as a constraint condition, and taking the minimum gross underlying payment capital and the fastest total payment time in the capital pool as optimization objectives in the whole payment process.
The invention needs to solve to obtain the current optimal scheduling time k toAfter a period of time DTIn a payment sequence that minimizes the total amount of funds paid for the advance payment and maximizes the sum of the advance payment times throughout the payment processIn one embodiment, the goal of maximizing the sum of the upfront payment times is expressed in a form of minimizing the reciprocal thereof (i.e. when the reciprocal is minimum, the sum of the upfront payment times is maximum), and the above problem can be described by a unified minimization goal, but it should not be limited thereto, and of course, other expressions can be used instead.
In one embodiment, the objective function for the funding pool payout sequence optimization is:
wherein,is a payment sequence; t isleadFor a time period D after the time kTIn the whole payment process, the sum of the payment time of all funds to be paid in advance; correspondingly, P is the total fund amount required for the payment from the fund pool to the outside in the whole payment process.
Preferably, a time period D after the time kTThe sum T of the payment time advanced by all the funds to be paidleadExpressed by the following formula (2):
wherein, tlead(l) The payment time advanced for each outward payment of funds,Dk(l) Is the first penThe latest payment time limit for the funds to be paid out,actual payment time for the first fund to be paid; m is the total number of funds to be paid.
Preferably, the total fund amount P required to be paid in the fund pool is expressed by the following formula (4):
p (i) the amount of funds required to be paid per fund to be paid, and m is the total number of funds to be paid.
Further, the step of calculating p (i) comprises:
first, for a period D after time kTInternal and fund flow payment sequenceIn the actual payment time seriesAnd account time sequence T ═ Tk(1),Tk(2),Tk(3),...,Tk(n-1),Tk(n)]Rearranging the data according to ascending time sequence to obtain a combined time sequenceOf course, since the actual payment time series and the account arrival time series both have time attributes, they are arranged in ascending order according to the time, and of course, the two series have respective ordering.
Hypothesis combining time seriesCan be expressed by the following formula:
the above formula can also be expressed by other arrangement orders, and the expression of the p (i) mathematical general formula is not influenced.
In thatIn the sequence, forFor the external payment at the moment:
for inFor the external payment at the moment:
for payment pending itemIn a word:
from the above formula, it can be inferred thatEach of which isFinding the time corresponding to the last fund payment required to be paid before the last time, and comparing the payment time with the payment timeIf the total amount of the account item is less than the total amount of the payment item in the period of time, the payment needs to be carried out, and the payment carrying amount is the difference between the total amount of the payment item to be carried out and the total amount of the payment item to be carried out; otherwise, no padding is required.
Then, deducing according to the formula to obtain a calculation formula of p (i):
when in useIs less thanWhen p (i) is 0.
Wherein a is the actual payment timeBefore, the last capital payment needing to be paid for is paid in the actual payment time sequenceThe order of (1); j is the last capital payment to be paidIn between, the first pending funds to be credited in the crediting time series TkThe order of (1); z is the last capital payment to be paidIn between, the last pending account fund is in the account time sequence TkThe order of (1); o isk(l) A payment amount for the first fund to be paid; i isk(f) And f, the amount of the account to be paid is the f.And the actual payment time when the ith to-be-paid fund is paid.
As can be appreciated, the first and second,the following constraints should be satisfied:
and enabling the objective function to meet the constraint condition that the actual payment time of each fund in the fund pool is less than or equal to the latest payment time limit of each fund, namely the withdrawal requirement of the customer must be met within the commitment time, wherein the constraint is hard.
Executing step S3, generating an initial solution of the funding pool payment sequence on the premise that the constraint condition is satisfied, and optimizing the initial solution of the funding pool payment sequence based on the objective function to obtain an optimal solution set of the funding pool payment sequence; the fund pool payment sequence comprises a payment time sequence in the time period and a corresponding payment amount sequence. The initial payment sequence satisfying the constraint condition can be generated randomly, and iterative optimization is carried out on the initial payment sequence based on an objective function by using a multi-objective optimization algorithm.
Further, referring to fig. 2, the step S3 includes the following steps S31-S39:
s31: the initial iteration number g may be set to be 0, and a payment time series within a period of time after the time k is generated as the initial payment time seriesThe corresponding payment sequence is(also including a sequence of payment amounts, which may be considered to be associated with a sequence of payment times); wherein each payment time isThe time satisfies the constraint of equation (7).
Preferably, the initial payment time seriesFor random generation, the generation formula of each payment time is as follows:
wherein Random (0, 1) is [0, 1]]Random real numbers in between; dk(1) The latest payment time limit for the first to be paid funds. As is known from the principle of equation (7),the requirement of the constraint in equation (7) can be satisfied.
S32: the initial payment time series obtained based on the formula (8)Pay time for each timeAnd the time T of account arrivalk(j) Of the formula T ═ Tk(1),Tk(2),Tk(3),...,Tk(n-1),Tk(n)]The account-arriving time sequence is rearranged according to the ascending time sequence to obtain a brand-new combined time sequence
In thatTo each oneThe time corresponding to the last fund payment needing to be paid before is in sequenceThe order in (1) is determined, that is, a in formula (6) is determined, and the final capital payment for payment is followed toThe charging time corresponding to the first charging is TkOrdering j in the sequence, after the last payment of the capital to be paidIn the meantime, the charging time corresponding to the last charging is TkThe ordering z in the sequence is determined.
S33: based onCalculating a sequence of paymentsNext, a period D after the time kTIn accordance with the payment sequenceThe sum T of the payment time advanced by all the funds to be paid in the whole process of paymentlead0Reciprocal of (a), and total amount of funds P required to be paid in the fund pool0。
Based onAccording to the formulas (1), (2), (3), (4) and (6), calculating in the payment sequenceNext, a period D from time k to the nextTThe sum T of the payment time advanced by all the funds to be paidlead0And the total fund amount P of the required payment in the fund pool0:
S34: will be provided withAs an initial optimal solution for the payout sequence, put into the optimal solution set S of the payout sequence of the fund poolbestIn and (2) mixingThe current solution S is given.
Can be combined withAnd storing the initial optimal solution into an external archive, and after subsequent iteration optimization, performing Pareto comparison with an optimization result.
S35: the number of iterations g is updated, e.g. g may be increased by 1 for each element of the current solution SCarrying out variation operation to obtain a brand new payment sequencePayment sequenceEach element ofFrom each element of the current solution SObtained after mutation.
Preferably, in step S35, the payment sequenceEach element ofByThe mutation step comprises:
let R2 Random (0, 1) -1, i.e. R is a Random real number between [ -1, +1], calculated according to the following formula:
wherein Random (0, 1) is [0, 1]]Random real numbers in between; dk(l) The latest payment time limit for the first to be paid funds. Obtained by the above formulaIt is still guaranteed that the requirements of the constraint in equation (7) are met.
S36: actual payment time obtained by variationComposed payment time seriesRearranging the time sequence and the account time sequence according to the ascending time sequence to obtain a brand new combined time sequence
Actual payment time obtained by variationComposed time payment sequenceAnd the time T of account arrivalk(j) The composed sequence Tk(1),Tk(2),Tk(3),...,Tk(n-1),Tk(n) arranging in ascending order to obtain a new time series
Can be derived inTo each oneThe time corresponding to the last fund payment needing to be paid before is in sequenceIn the order, after the last payment of the funds to be paidThe first time between them is entered at TkThe order in the sequence, and the last payment of funds to be paid uponLast account is entered at TkThe order in the sequence.
S37: based onCalculating pay time series obtained at varianceNext, a period D after the time kTIn accordance withThe sum T of the payment time advanced by all the funds to be paid in the whole process of paymentlead1Reciprocal of (a), and total amount of funds P required to be paid in the fund pool1。
Based onCalculating the actual payment time sequence obtained in the variation according to the formulas (1), (2), (3), (4) and (6)Next, a period D from time k to the nextTSum T of payment time advanced by all funds to be paidlead1And the total fund amount P of the required payment in the fund pool1。
S38: time series of paymentsAnd the optimal solution set S before optimizationbestIn the method, Pareto domination comparison is carried out under two dimensions of the sum of the gross fund amount of the payment and the advanced payment time, the updating of an optimal solution set is carried out, and the payment sequence is carried outThe current solution S is given.
Preferably, step S38 includes:
suppose that the optimal solution set S at this timebestThe Pareto frontier formed by o optimal solutions is totally contained in the solution, and the single optimal solution is recorded asq∈[1,...o]Will pay time seriesAnd the optimal solution set S before optimizationbestIn the method, Pareto domination comparison is carried out on each single optimal solution under two dimensionalities of the sum of the gross fund amount of the payment and the payment time in advance, the optimal solution set is updated by adopting the following principle, and the optimal solution set is updated by adopting the following principle:
for a q from 1 to o,
increasing the iteration number g and paying the sequenceThe current solution S is given. The updating of the external archive is completed.
S39: judging whether the iteration times g reach a preset value, if not, returning to the step S35, and continuing to perform iteration optimization; otherwise, the optimal solution set is output, and step S4 is executed.
The iteration times can be preset according to the calculation time of the computer and the requirements of the computer, if the iteration times reach, the iteration optimization is ended, otherwise, the current solution S is optimized, and the iteration optimization is continued.
And then, executing step S4, selecting an optimal solution from the optimal solution set according to a preset payment limit.
Preferably, step S4 includes:
s41: according to the total fund amount P required to be paid in the fund pool and the advance payment of all funds to be paidSum of time of payment TleadEstablishing a coordinate system according to the relation between the inverses;
s42: set the optimal solution SbestDrawing Pareto front edges through two-dimensional planes by all solutions in the solution;
s43: drawing a straight line x ═ gamma A perpendicular to coordinate axes, cutting off the Pareto front edge, and obtaining the total fund amount closest to the intersection pointThe sequence of (a) is used as an optimal solution, wherein gamma is a preset capital payment margin coefficient, and A is an expected payment limit.
Specifically, assuming that the expected fund payment amount is A, as shown in FIG. 3, the sum T of the payment time advanced by all the funds to be paid is taken as the x-axis of the total fund amount P required to be paid in the fund poolleadEstablishing a coordinate system by taking the reciprocal of the optimal solution set S as the y axisbestAll solutions in (a) draw Pareto fronts through two-dimensional planes.
Because of the need to control capital risk, a capital underpaying margin coefficient is usually set so that the underpaying amount is controlled within a certain range. Assuming that gamma is a preset capital payment margin coefficient, generally taking 0.8, drawing a straight line x which is gamma A and perpendicular to a coordinate axis, and cutting off a Pareto front edge, the straight line is closest to the intersection point and is closest to the intersection pointThe optimal solution of the scheme is the optimal solution of the scheme.
Then, step S5 is executed to pay according to the optimal solution of the fund pool payment sequence. The optimal solution payment sequence obtained in step S4 may be issued to a payment system to perform payment.
And the fund pool payment system carries out external payment according to the payment time sequence in the optimal solution payment sequence and the corresponding payment amount sequence, so that the payment aging is greatly accelerated while the total fund payment amount is controlled within the preset amount range in the whole process of carrying out payment according to the payment sequence.
The technical solution is further explained below with reference to a specific embodiment:
if 8, 15 and k days are the time, the total payment amount is 3000 ten thousand RMB, and the maximum total payment amount is 2400 ten thousand RMB for controlling the capital risk. The details of the money to be paid and the money to be billed in the half-month period from 16 to 30 days are as follows (3):
watch (3)
Randomly generating an initial payment sequence according to a formula (8), wherein Random (0, 1) is 0.8, and the generated initial payment time sequence, the amount of payment per pad, and the early arrival time per account correspond to the sequence to be paid and the sequence to be billed as shown in the following table (4):
watch (4)
The generated initial payment time meets the constraint condition of the formula (7), the sum of the total advanced payment time of external payment is 16.4 days, the sum of the advanced payment sum is 1700 thousands of RMB under the initial payment sequence in the period of 15 days to 30 days, and the coordinate point (1700, 1/16.4) is represented by the point E on figure 3.
Will be provided withI.e., the quantities shown in Table (5) below, as the initial optimal solutions, are stored into the optimal solution set SbestIn and (2) mixingThe current solution S is given.
Watch (5)
Performing iterative optimization on the initial payment time sequence according to a formula (9), and obtaining the optimal payment time sequence, the payment amount per pad, the advanced payment time, the to-be-paid sequence and the to-be-billed sequence, which correspond to the following table (6):
watch (6)
As can be seen from the above table, in the optimized payout sequence obtained by optimizing the period of 15 days to 30 days, the sum of the total advance-to-account times of the outward payout is 29.52 days, the sum of the advance payment amounts is 2400 ten thousand, and the coordinate point (2400, 1/29.52) is indicated by point F in fig. 3.
Performing Pareto dominant comparison on the solution obtained by optimization and the optimal solution of the initial optimal solution set, wherein the solution obtained by optimization and the optimal solution of the initial optimal solution set are not dominant, and therefore, the solution obtained by optimization, namely the quantity in the following table (7) is used
Watch (7)
Storing the solution into an optimal solution set SbestAnd assigning the payment sequence to the current solution S.
And (3) continuously carrying out iterative optimization on the optimization sequence according to a formula (9), wherein the obtained optimized payment time sequence, each payment amount and the advanced account-reaching time correspond to the sequence to be paid and the sequence to be checked in the following table:
watch (8)
From the above table, in the optimized payment sequence from 15 days to 30 days, the sum of the total advanced payment time of the external payment is 52.136 days, the sum of the advance payment sum is 3700 ten thousand of rmb, and the optimized solution and the optimal solution set S are obtainedbestThe non-inferior solutions in (1) do not mutually dominate, so the payment sequence obtained by further optimization is stored into the optimal solution set SbestAnd the corresponding payment sequence is assigned to the current solution S, the coordinate point (3700, 1/52.136) is represented by point G on fig. 3.
In this embodiment, the maximum underpayable total amount is 2400 ten thousand RMB, and the underpayable total amount is 3700 ten thousand RMB and larger than the maximum underpayable total amount in the optimized sequence in Table (8), and the underpayable total amount in the payment sequence in Table (6)The sum is 2400 ten thousand, and is closest to the maximum chargeable total sum, so in this embodiment, the optimal solution S isbestThe sequence is represented by table (9) for the following payment sequence:
watch (9)
And the payment system carries out outward payment according to the optimized payment sequence, so that the total payment amount of the pad payment is 2400 ten thousand, and the sum of the time for reaching the account in advance is 29.52 days.
The invention also provides a multi-objective-based capital pool payment sequence optimization system, which comprises:
the data acquisition module is used for acquiring data to be paid and account arrival data which enter and exit the fund pool within a period of time, wherein the data to be paid at least comprises the latest payment time limit of each fund to be paid;
the objective function establishing module is used for establishing an objective function for optimizing a fund pool payment sequence by taking the latest payment time limit of each fund as a constraint condition, and taking the minimum gross payment fund amount and the fastest total payment time in the fund pool as optimization targets in the whole payment process;
the target optimization module generates an initial solution of the fund pool payment sequence on the premise of meeting the constraint condition, and optimizes the initial solution of the fund pool payment sequence on the basis of the target function to obtain an optimal solution set of the fund pool payment sequence; the fund pool payment sequence comprises a payment time sequence in the time period and a corresponding payment amount sequence;
the optimal solution selection module is used for selecting an optimal solution from the optimal solution set according to a preset payment limit;
and the payment module executes payment according to the optimal solution of the fund pool payment sequence.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a multi-objective based funding pool payment sequence optimization method as described in any of the preceding embodiments.
The present invention also provides a computer apparatus comprising a memory and a processor and a computer program stored on the memory and being invoked by the processor, when executing the computer program, implementing a method of multi-objective based funding pool payment sequence optimization as claimed in any one of the preceding embodiments.
For the specific contents of the system, the computer-readable storage medium and the computer device for optimizing the sequence of funding based on multiple objectives according to the present invention, reference may be made to the specific description of the method for optimizing the sequence of funding based on multiple objectives according to the foregoing embodiments, and further description is omitted here.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the scope of the claims, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention.