\begin{algorithm}
\caption{Algorithm for detecting equilibrium}\label{algo2}
\begin{algorithmic}[1]

\State Initialize an empty list $l$
\For{\textbf{each} $i$ \textbf{in} $producers$}
  \For{$t$ \textbf{in} $[500, 900)$}
    \If{$\forall x \in \{p_{it},p_{i(t+1)},\dots,p_{i1000}\}(x < \epsilon)$} 
            \State $l$\textbf{.push}(True)
            \State \textbf{break} 
        \EndIf
  \EndFor
  \State $l$\textbf{.push}(False) 
\EndFor
\If{$\forall \text{y} \in l$\text{(y==True)}}
    \State \textbf{return} $"Equilibrium"$
\Else 
    \State \textbf{return} $"Disequilibrium"$
\EndIf
 
\end{algorithmic}
\end{algorithm}

\begin{algorithm}
\caption{Algorithm for detecting equilibrium}\begin{algorithmic}
[1]
\State Initialize an empty list $l$
\For{\textbf{each} $i$ \textbf{in} $producers$}
\For{$t$ \textbf{in} $[500, 900)$}
\If{$\forall x \in \{p_{it},p_{i(t+1)},\dots,p_{i1000}\}(x < \epsilon)$}
\State $l$\textbf{.push}(True)
\State \textbf{break}
\EndIf
\EndFor
\State $l$\textbf{.push}(False)
\EndFor
\If{$\forall \text{y} \in l$\text{(y==True)}}
\State \textbf{return} $"Equilibrium"$
\Else
\State \textbf{return} $"Disequilibrium"$
\EndIf
\end{algorithmic}
\end{algorithm}
{
    "title": "a dynamic agent based model of the real economy with monopolistic   competition, perfect product differentiation, heterogeneous agents,   increasing returns to scale and trade in disequilibrium",
    "id": "2401.07070",
    "abstract": "we have used agent-based modeling as our numerical method to artificially simulate a dynamic real economy where agents are rational maximizers of an objective function of cobb-douglas type. the economy is characterised by heterogeneous agents, acting out of local or imperfect information, monopolistic competition, perfect product differentiation, allowance for increasing returns to scale technology and trade in disequilibrium. an algorithm for economic activity in each period is devised and a general purpose open source agent-based model is developed which allows for counterfactual inquiries, testing out treatments, analysing causality of various economic processes, outcomes and studying emergent properties. 10,000 simulations, with 10 firms and 80 consumers are run with varying parameters and the results show that from only a few initial conditions the economy reaches equilibrium while in most of the other cases it remains in perpetual disequilibrium. it also shows that from a few initial conditions the economy reaches a disaster where all the consumer wealth falls to zero or only a single producer remains. furthermore, from some initial conditions, an ideal economy with high wage rate, high consumer utility and no unemployment is also reached. it was also observed that starting from an equal endowment of wealth in consumers and in producers, inequality emerged in the economy. in majority of the cases most of the firms(6-7) shut down because they were not profitable enough and only a few firms remained. our results highlight that all these varying outcomes are possible for a decentralized market economy with rational optimizing agents.",
    "categories": "econ.th cs.ma",
    "doi": "",
    "created": "2024-01-13",
    "updated": "",
    "authors": [
        "subhamon supantha",
        "naresh kumar sharma"
    ],
    "affiliation": [],
    "url": "https://arxiv.org/abs/2401.07070"
}
{
    "ToxicityFilter": {
        "text_to_toxicity_attributes": {
            "sn-article.tex": {
                "toxicity_score": 0.0046494426,
                "severe_toxicity_score": 0.00053167343,
                "identity_attack_score": 0.001415168,
                "insult_score": 0.006011867,
                "profanity_score": 0.010569996,
                "threat_score": 0.0062396824,
                "sexually_explicit_score": 0.006605443,
                "flirtation_score": 0.2874154
            },
            "empty.eps": {
                "toxicity_score": 0.007885204,
                "severe_toxicity_score": 0.0008249283,
                "identity_attack_score": 0.0019146391,
                "insult_score": 0.0067908717,
                "profanity_score": 0.013268576,
                "threat_score": 0.006699257,
                "sexually_explicit_score": 0.008492713,
                "flirtation_score": 0.45258012
            },
            "sn-vancouver.bst": {
                "toxicity_score": 0.010995304,
                "severe_toxicity_score": 0.0008535385,
                "identity_attack_score": 0.0033298072,
                "insult_score": 0.007797878,
                "profanity_score": 0.013268576,
                "threat_score": 0.0067316215,
                "sexually_explicit_score": 0.008256803,
                "flirtation_score": 0.4476301
            },
            "sn-jnl.cls": {
                "toxicity_score": 0.011812098,
                "severe_toxicity_score": 0.0011396408,
                "identity_attack_score": 0.003366805,
                "insult_score": 0.007721877,
                "profanity_score": 0.01402008,
                "threat_score": 0.007145886,
                "sexually_explicit_score": 0.010379982,
                "flirtation_score": 0.512107
            },
            "fig.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "sn-basic.bst": {
                "toxicity_score": 0.018974753,
                "severe_toxicity_score": 0.0014209747,
                "identity_attack_score": 0.0037367835,
                "insult_score": 0.010248893,
                "profanity_score": 0.018597418,
                "threat_score": 0.0071717775,
                "sexually_explicit_score": 0.013977589,
                "flirtation_score": 0.29158676
            },
            "sn-bibliography.bib": {
                "toxicity_score": 0.009424546,
                "severe_toxicity_score": 0.0010919571,
                "identity_attack_score": 0.0017758971,
                "insult_score": 0.0074368757,
                "profanity_score": 0.013336895,
                "threat_score": 0.006440342,
                "sexually_explicit_score": 0.009554301,
                "flirtation_score": 0.20111376
            },
            "sn-article.bbl": {
                "toxicity_score": 0.007351146,
                "severe_toxicity_score": 0.000834465,
                "identity_attack_score": 0.0024603575,
                "insult_score": 0.00654387,
                "profanity_score": 0.012585391,
                "threat_score": 0.006647474,
                "sexually_explicit_score": 0.009200439,
                "flirtation_score": 0.5493274
            },
            "sn-mathphys.bst": {
                "toxicity_score": 0.015142105,
                "severe_toxicity_score": 0.0013542175,
                "identity_attack_score": 0.004236255,
                "insult_score": 0.008690883,
                "profanity_score": 0.017572641,
                "threat_score": 0.007586042,
                "sexually_explicit_score": 0.013977589,
                "flirtation_score": 0.32881752
            },
            "sn-chicago.bst": {
                "toxicity_score": 0.05205809,
                "severe_toxicity_score": 0.0031089783,
                "identity_attack_score": 0.00449524,
                "insult_score": 0.017872108,
                "profanity_score": 0.029050145,
                "threat_score": 0.007197669,
                "sexually_explicit_score": 0.015334064,
                "flirtation_score": 0.22683682
            },
            "sn-nature.bst": {
                "toxicity_score": 0.014827953,
                "severe_toxicity_score": 0.0012302399,
                "identity_attack_score": 0.0034223017,
                "insult_score": 0.008880884,
                "profanity_score": 0.015932998,
                "threat_score": 0.006861079,
                "sexually_explicit_score": 0.010438959,
                "flirtation_score": 0.39879754
            },
            "sn-apacite.bst": {
                "toxicity_score": 0.020842785,
                "severe_toxicity_score": 0.0014591217,
                "identity_attack_score": 0.0035332954,
                "insult_score": 0.0105148945,
                "profanity_score": 0.019143965,
                "threat_score": 0.0075083673,
                "sexually_explicit_score": 0.015216109,
                "flirtation_score": 0.39166427
            },
            "sn-aps.bst": {
                "toxicity_score": 0.025556687,
                "severe_toxicity_score": 0.0018978119,
                "identity_attack_score": 0.004994711,
                "insult_score": 0.0114649,
                "profanity_score": 0.021945024,
                "threat_score": 0.00789674,
                "sexually_explicit_score": 0.020052237,
                "flirtation_score": 0.32421535
            }
        },
        "reason": null
    }
}
{
    "num_done": {
        "figure": 0,
        "algorithm": 3
    }
}
{
    "NonTrivialRenderingFilter": {
        "white_pixels_ratio": 92.80746395250212,
        "hash": "078ecf9f9f0f0f2f",
        "most_frequent_color_ratio": 92.80746395250212
    }
}