<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Broker-Based Trade Allocation in Agent-</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Based E-commerce</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dien Tuan Le</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Economics, The University of Danang</institution>
          ,
          <country country="VN">Vietnam</country>
        </aff>
      </contrib-group>
      <fpage>209</fpage>
      <lpage>216</lpage>
      <abstract>
        <p>Online business environment represents complex systems where the business transactions between buyers and sellers are carried out based on multiple constraints from buyers and sellers. The complexity of the online business environment between buyers and sellers has encouraged the use of modelling broker to solve allocations. Thus, this paper proposes a novel approach for a broker agent to allocate buyers' requirements to sellers' offers using the method of artificial intelligence. The major contributions of this paper are that (i) a proposed framework for a broker agent is divided in four stages: receiving, calculation, filtering and allocating; (ii) a novel calculation method is to calculate buyers' satisfaction degree as per sellers' offers to determine a constraint satisfaction layer; and (iii) CSP model for trade allocation is built to help a broker agent to find an optimal allocation solution to satisfy buyers and sellers' various preferential requirements. Finally, the results of the simulation experiment demonstrate the proposed approach is flexible and effective under the consideration of different constraints.</p>
      </abstract>
      <kwd-group>
        <kwd>Buyers' satisfaction degree</kwd>
        <kwd>Allocation process</kwd>
        <kwd>Multi-attribute trading</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        E-commerce has recently made remarkable achievements in the era of globalization
together with rapid technological changes. Especially, the emergence of artificial
intelligent technology makes e-commerce systems more intelligent so it is convenient for
buyers and sellers to carry out business transactions via brokers in digital business
environments [
        <xref ref-type="bibr" rid="ref1 ref2">1-2</xref>
        ]. A broker is responsible to receive requirements of buyers and sellers
and to implement trade allocation procedures with regard to the consideration of
different situations in complex business environments [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">3-5</xref>
        ]. Research on brokers or
intermediaries as the third party of the trading processes in e-commerce has been active
directions in recent years. Jiang et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] proposed an optimization approach to solve
matching problems through a broker using a single objective function under the
consideration of estimated prices. A matching model for a broker is built to maximize the
weight sum of the sellers’ and buyers’ satisfaction degree based on requirements of
buyers and sellers. Li et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] proposed a new approach to allocate buyers to sellers
using a multi-objective optimization model through a broker. Furthermore, an
agentbased framework was built to carry out matching processes in three layers: the interface
layer, the matching layer and the database layer. Jiang et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] built an optimal
matching approach for brokers under the consideration of multi-attribute trading with fuzzy
information and indivisible demand considerations.
      </p>
      <p>As mentioned above, such approaches have focused on studying brokers as the third
party to allocate buyers’ requirements to sellers’ offers in business environments.
However, there are few theories and guidelines to help a broker agent in intelligent
e-commerce systems to find out optimal allocation solutions using CSP techniques and
multiattribute trading. Most current brokers in e-marketplace only provide buyers’ or sellers’
trade information and do not really employ artificial intelligence techniques to allocate
buyers to sellers. The lack of a comprehensive optimization approach on allocation
could not provide a solid foundation to improve market efficiency in digital business
environments. Therefore, how to allocate buyers to sellers using CSP techniques under
the consideration of constraints between buyers and sellers is one of the most important
challenges for a broker agent. The novel approach in this paper is proposed to solve this
challenge.</p>
      <p>The rest of this paper is organized as follows. Problem description is presented in
Section 2. The proposed approach for a broker agent is introduced in Section 3. An
experiment is described in Section 4. Section 5 gives conclusions and points out our
future work.
2</p>
      <p>Problem description
There are three members in the trading process with multi-attribute trading, i.e., buyers,
sellers and a broker. The broker is often called a facilitator, who acts as an intermediary
between buyers and sellers in multi-attribute trading. The consideration of the
sellerbuyer matching problem through a broker agent is shown in Fig. 1.</p>
      <p>Buyers</p>
      <p>Sellers
Requirements</p>
      <p>Offers</p>
      <p>Broker</p>
      <p>Matching results Agent Matching results</p>
      <p>The broker agent’s responsibility is to match  ( ≥ 1) buyers with  ( ≥ 1)
sellers for the same commodity with multi-attribute trading in order to satisfy buyer’s</p>
      <p>Broker-Based Trade Allocation in Agent-Based E-commerce 211
requirements and it is assumed that each buyer (seller) can buy (sell) commodities for
each seller (buyer) at most.</p>
      <p>
        Let a set of buyers  = { 1,  2, … ,   }, a set of sellers  = { 1,  2, … ,   }, buyers’
requirements and sellers’ offers are related to multi attributes which are divided to
attributes with hard constraints and soft constraints [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Buyers’ requirements with
multiattributes are split into a set of attributes with hard constraints  = {ℎ1, ℎ2, … , ℎ } and
set of attributes with soft constraints  = { 1,  2, … ,   }. Let  be number of buyers,
 ∈ [1,2 …  ] is the index of   ’s requirements and    ′( ′ ∈  +  )) is the crisp value
of the  ′ ℎ attribute of   ’s requirements. Similarly, let m be number of buyers,  ∈
[1,2 …  ] is the index of   ’s offers and    ′ ( ′ ∈  +  )) is the crisp value of the  ′ ℎ
attribute of   ’s offers.
      </p>
      <p>Based on the above analysis, the key problem is how to help a broker agent to
achieve the optimal allocation results between trading (buyers and sellers) agents in
agent-based e-commerce using CPS model. Therefore, the proposed allocation
approach for a broker agent can solve this problem and is presented in Section 3.
3
3.1</p>
      <p>A proposed approach for a broker agent</p>
      <p>Framework of the proposed approach
The framework of the proposed approach for a broker agent to allocate buyers’
requirements to sellers’ offers using constraint satisfaction problem models is presented in Fig.
2 as follows.</p>
      <p>Receive buyers requirements and sellers offers</p>
      <p>Calculate buyers satisfaction degree to
determine constraint satisfaction layer
Filter constraint satisfaction layer based on
buyers satisfaction degree</p>
      <p>Constraint satisfaction layer</p>
      <p>The group of buyers
The group of sellers
Allocate buyer s requirements to seller s offers
• Constraint satisfaction problem models
Obtain allocation results</p>
      <p>In the framework, trading information related to buyers’ requirements and sellers’
offers is submitted to a broker agent. Then, buyers’ requirements are classified into
attributes with three kinds of constraints, i.e., attributes with hard constraints, benefit
soft constraints, and cost soft constraints. Based on attribute classification, buyers’
satisfaction degree for each type of attribute is calculated as per sellers’ offers to determine
constraint satisfaction layer. After that, a broker agent can filter a constraint satisfaction
degree layer based on buyers’ satisfaction degree to achieve a broker agent’s goals.</p>
      <p>Finally, a broker agent carries out trade allocation using constraint satisfaction problem
models to obtain the optimal allocation results to satisfy buyers’ requirements as per
 = -1 means that   does not match with   for attribute ℎ ( ∈  ) and  
means that   matches with   for attribute ℎ .</p>
      <p>(ii) For an attribute type with benefit soft constraints: if Qjl &lt;  il then  
means that   does not satisfy   . If Qjl≥ C , then  
il
  is calculated as follows:





ℎ = {


ℎ
-1 if Cig≠Qjg
1 if Cig=Qjg

  =(</p>
      <p>Qjl - Qmin-l+φ t
 max-l - Qmin-l+φ ) ,
where  =   ⁄
 
−
(1)
  =1
  =-1. It
(2)
 

 
(3)
3.3</p>
      <p>Applying CSP for a broker agent to carry out trade allocations
To model CSP for allocation processes, a broker agent needs to determine constraints
based on the calculation of buyers’ satisfaction degree. Relationships between buyers
and sellers through buyers’ satisfaction degree are presented in Table 1 as follows.</p>
      <p>, Qmin-l is the minimal value of seller in the set of values for the
attribute   and Qmax-l is the maximal value of a seller in the set of values for the
attribute   . A value t ∈ (0,1] helps a broker agent to carry out comparing a buyer’s
satisfaction degree when  is used to calculate</p>
      <p>. φ= Qmin-l/2, φ helps a broker agent to solve
some special cases such as only one seller in e-commerce systems or Qmax-l = Qmin-l. 
means that   matches with   for attribute   with a buyer’s satisfaction degree   .
   is in-between 0 and 1. If</p>
      <p>is near 1, it means that   is highly satisfied by   for
attribute   ( ∈  ).
that   does not satisfy   . If Cil≥Qjl, then  
  is calculated as follows:
(iii) for an attribute type with cost soft constraints: if Cil&lt;Qjl then  
  =-1. It means
   =( Qmax-l- Qmin-l+ φ</p>
      <p>Qmax-l- Qjl+ φ 
) ,
1</p>
      <p>Broker-Based Trade Allocation in Agent-Based E-commerce 213</p>
      <p>is   ’s satisfaction degree as per   ’s offers under the consideration of
multi-attribute trading. If  
does not satisfy   for a certain attribute then  
= −1.</p>
      <p>It means that</p>
      <p>does not satisfy   and the constraint between   and   in a CSP
model is created for trade allocation processes. Trade allocation through a broker agent
between  buyers and</p>
      <p>sellers under the consideration of constraints in this paper are
solved using CSP techniques. Thus, variables, domain of variables and constraints are
defined in the CSP model for trade allocation as follows.
• Variables and domain of variables
 
= 1</p>
      <p>0, ∀ ∈  , ∀ ∈ 
• Constraints</p>
      <p>∑ =1</p>
      <p>∑ =1  
≤ 1,  = 1,2, … , 
≤ 1,  = 1,2, … , 
 
= 0  

  = −1 ( = 1,2, …  ) 


 
= −1 ( = 1,2, …  )
Constraints in Equation 4 is decision variable constraints, if buyer   matches with
seller   then  
= 1; otherwise</p>
      <p>= 0. Constraints in Equation 5 and 6 are that each
buyer (seller) only matches with each seller (buyer) maximally. Constraints in Equation
7 determine a constraint satisfaction layer. After a broker agent defines variables and
determines the domain of variables and constraints, the broker agent uses the CSP
techniques to find out the optimal allocation solutions to satisfy buyers’ requirements as per
in subsection 4.1 and the experimental results are evaluated in subsection 4.2.
(4)
(5)
(6)
(7)
4.1</p>
      <p>Experimental setting
In the experiments, we generate an artificial data of 10 buyers and 10 sellers in the
digital business environments of the real estate in Vietnam. Buyers’ requirements and
sellers’ offers for goods contain five attributes, i.e., location (a1), price (a2), building
size (a3), number of payment days (a4), property (a5). Based on buyers’ requirements
related to five attributes, location (a1) and property (a5) are attributes with hard
constraints because their constraints must be satisfied while price (a2) is an attribute with
cost soft constraints and building size (a3), number of payment days (a4) are attributes
with benefit soft constraints because buyers can be accepted to relax the values of the
attributes to achieve their satisfaction degrees.</p>
      <p>In the experiments, the proposed allocation approach for a broker agent is employed
to find out optimal pair allocations under the different situations in the digital business
environments of real estate in Vietnam. More specifically, two representative
experiments are presented below to demonstrate the proposed approach effectively.
4.2</p>
      <p>Experimental results
Experiment 1: Trade allocations without filtering buyers’ satisfaction degree
In this experiment, a broker agent applies CSP in Python to find out the trade
allocation results under the consideration of 10 buyers’ requirements and 10 sellers’ offers
related to 5 attributes and without filtering buyers’ satisfaction degree. In particular, a
broker agent calculates each buyer’s satisfaction degree based on each seller’s offers to
determine the layer of constraint satisfaction and based on each buyer’s satisfaction
degree as per each seller’s offers, a broker agent determines constraints for the CSP
model before a trade allocation process is carried out. Based on data of 10 buyers’
requirements and 10 sellers’ offers for goods with 5 five attributes in subsection 4.1, a
broker agent finds out 145,421 solutions for trade allocation. The specific results
without filtering buyers’ satisfaction degree are presented in Fig. 3.</p>
      <p>Based on experimental results, a broker agent considers to select which solutions
from allocation results to achieve a broker agent’s goals as per the constraints of buyers
or sellers or both. For instance, if a broker agent wants to choose an allocation solution
from 145,421 solutions to maximize buyers’ satisfaction degree, solution 128,861 of
allocation is perfect because the normalization of buyers’ satisfaction degree in this
solution equals 1. The specific allocation result in this solution is  1 ↔  10,  2 ↔
 3,  3 ↔  8,  4 ↔  7,  5 ↔  9,  6 ↔  2,  7 ↔  1,  8 ↔  6,  9 ↔  5,  10 ↔  4.</p>
      <p>Experiment 2: The consideration of relationship between buyers’ satisfaction
degree and a number of allocation solutions</p>
      <p>In the second experiment, the relationship between buyers’ satisfaction degree
and a number of allocation solutions was studied. Buyers’ satisfaction degree is set to
increase gradually to find out a number of allocation solutions. In particular, 8 levels of
buyers’ satisfaction degree are set for this experiment, and a number of allocation
solutions as per each level of buyers’ satisfaction degree is found. The specific results are
presented in Fig. 4. Based on allocation results in Fig. 4, it is clear that if the
requirement of buyers’ satisfaction degree is high, the number of allocation solutions is low
and vice versa. It demonstrates that the proposed approach works effectively. In
summary, a broker agent can take off flexible allocation solutions to satisfy buyers’
requirements as per sellers’ offers based on the constraints of buyers’ satisfaction degree.</p>
      <p>This paper proposes the allocation approach for a broker agent in agent-based
ecommerce using the CSP model. The proposed approach is novel because (i) the design
of allocation approach for a broker agent is general so it can be applied into broad
domains such as real estate, banking, education, etc.; (ii) the formula system is built to
calculate buyers’ satisfaction degree as per sellers’ offer for multi-attribute trading; and
(iii) a broker agent’s allocation process is implemented based on the constraint
satisfaction process using CSP. CSP helps a broker agent to find out an optimal solution by
means of satisfying various preferences of buyers and sellers. The experimental results
demonstrate the promising performance of the proposed approach in aspects of
satisfying buyers’ requirements as per sellers’ offers and finding out optimal allocation results
based on constraints. Furthermore, future research would extend the proposed approach
to solve complex business environments such as the consideration of negotiation, price
policies, etc.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Tang</surname>
          </string-name>
          , J.:
          <article-title>Artificial intelligence-based e-commerce platform based on SaaS and neural networks</article-title>
          .
          <source>In: the Fourth International Conference on Inventive Systems and Control (ICISC)</source>
          , pp.
          <fpage>421</fpage>
          -
          <lpage>424</lpage>
          , IEEE,
          <string-name>
            <surname>India</surname>
          </string-name>
          (
          <year>2020</year>
          ). https://doi.org/10.1109/ICISC47916.
          <year>2020</year>
          .9171193
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ren</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ito</surname>
          </string-name>
          , T.:
          <article-title>GongBroker: A broker model for power trading in smart grid markets</article-title>
          .
          <source>In: International Conference on Web Intelligent and Intelligent Agent Technology (WI-IAT)</source>
          , pp.
          <fpage>21</fpage>
          -
          <lpage>24</lpage>
          , IEEE,
          <string-name>
            <surname>Singapore</surname>
          </string-name>
          (
          <year>2016</year>
          ). https://doi.org/10.1109/WIIAT.
          <year>2015</year>
          .108
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Le</surname>
            ,
            <given-names>D. T.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Ren</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          :
          <article-title>An economic model-based matching approach between buyers and sellers through a broker in an open e-marketplace</article-title>
          .
          <source>Journal of Systems Science and Systems Engineering</source>
          ,
          <volume>27</volume>
          (
          <issue>2</issue>
          ),
          <fpage>156</fpage>
          -
          <lpage>179</lpage>
          (
          <year>2018</year>
          ). https://doi.org/10.1007/s11518-018-5362-z
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Nagarajan</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thirunavukarasu</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Selvamuthukumaran</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A cloud broker framework for infrastructure service discovery using semantic network</article-title>
          .
          <source>International Journal of Intelligent Engineering Systems</source>
          ,
          <volume>11</volume>
          (
          <issue>3</issue>
          ),
          <fpage>11</fpage>
          -
          <lpage>19</lpage>
          (
          <year>2018</year>
          ). http://www.inass.org/
          <year>2018</year>
          /2018063002.pdf
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yuan</surname>
            ,
            <given-names>X. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yuan</surname>
            ,
            <given-names>J. G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hu</surname>
            ,
            <given-names>H. J.:</given-names>
          </string-name>
          <article-title>Multi-objective approach for broker dominant supply-demand matching decision</article-title>
          .
          <source>Journal of Interdisciplinary Mathematics</source>
          ,
          <volume>20</volume>
          (
          <issue>4</issue>
          ),
          <fpage>1139</fpage>
          -
          <lpage>1152</lpage>
          (
          <year>2017</year>
          ). https://doi.org/10.1080/09720502.
          <year>2017</year>
          .1358887
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>Y. P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fan</surname>
            ,
            <given-names>Z. P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>H. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>An optimization approach for existing home seller-buyer matching</article-title>
          .
          <source>Journal of the Operational Research Society</source>
          ,
          <volume>70</volume>
          (
          <issue>2</issue>
          ),
          <fpage>237</fpage>
          -
          <lpage>254</lpage>
          (
          <year>2019</year>
          ). https://doi.org/10.1080/01605682.
          <year>2018</year>
          .1427432
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Y. H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fan</surname>
            ,
            <given-names>Z. P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kang</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>An Agent-Based Framework for Matching Buyers and Sellers</article-title>
          .
          <source>In: the 4th International Conference on Wireless Communications, Networking and Mobile Computing</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          , IEEE,
          <string-name>
            <surname>China</surname>
          </string-name>
          (
          <year>2008</year>
          ). https://doi.org/10.1109/WiCom.
          <year>2008</year>
          .2224
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>Z. Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shu</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ip</surname>
            ,
            <given-names>W. H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Fuzzy multi objective modeling and optimization for one-shot multi attribute exchanges with indivisible demand</article-title>
          .
          <source>IEEE Transactions on Fuzzy Systems</source>
          ,
          <volume>24</volume>
          (
          <issue>3</issue>
          )
          <fpage>708</fpage>
          -
          <lpage>723</lpage>
          (
          <year>2015</year>
          ). https://doi.org/10.1109/TFUZZ.
          <year>2015</year>
          .2476516
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>Z. Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ip</surname>
            ,
            <given-names>W. H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lau</surname>
            ,
            <given-names>H. C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fan</surname>
            ,
            <given-names>Z. P.:</given-names>
          </string-name>
          <article-title>Multi-objective optimization matching for one-shot multi-attribute exchanges with quantity discounts in E-brokerage</article-title>
          .
          <source>Expert Systems with Applications</source>
          ,
          <volume>38</volume>
          (
          <issue>4</issue>
          ),
          <fpage>4169</fpage>
          -
          <lpage>4180</lpage>
          (
          <year>2011</year>
          ). http://dx.doi.org/10.1016/j.eswa.
          <year>2010</year>
          .
          <volume>09</volume>
          .079
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>