scml
  • Overview
    • Overview
    • Installation
    • Documentation
    • Development
  • Installation
  • Usage
  • Tutorials
    • What is SCM and SCML?
    • A (not very) brief introduction to NegMAS
      • Negotiation Management
    • A brief introduction to SCM
      • The Oneshot game (OneShot)
      • The Full game (Standard Track)
    • Run a session of the SCML world (2024)
    • Running a tournament
    • Running a One-Shot tournament
    • Running against winners from previous years
    • Developing an agent for SCML2024 (OneShot)
      • Testing a completely random agent
      • An agent that does nothing
      • Building your own agent
        • Your AWI
        • Your ufun
        • Your callbacks
      • OneShotAgent
        • Simple OneShotAgent
      • A (suposedly) better greedy agent
        • Why did not this approach work
      • Thinking about other negotiations
      • OneShotSyncAgent
        • A not so-good SyncAgent
      • A better SyncAgent
        • helpers
        • First set of offers
        • Countering offers
        • Possible Improvements
      • Comparing all agents
    • Running against winners from previous years
    • Developing an agent using RL (new in 2024)
      • Moving Pieces
        • The Context
        • The Environment
        • Observation Manager
        • Action Manager
        • Reward Function
        • The Agent
      • How to train your dragon (agent)?
      • What can you change?
      • Developing an RL agent for SCML
        • Context Design
        • Observation Manager Design
        • Training
        • Creating the Agent
        • Saving and Loading
        • What next?
      • A note about SCML Standard
    • Developing an agent for SCML2024 (Standard)
      • Testing a completely random agent
      • A do-nothing agent
      • Building your own agent
        • Your AWI
        • Your ufun
        • Your callbacks
      • StdAgent
        • Simple StdAgent
      • A (suposedly) better greedy agent
      • Simple Sync Agent
      • A better SyncAgent
        • Generating First Offers
        • Generating counter offers
        • Distributing Today’s Needs
        • Sampling future needs
        • Possible Improvements
      • Comparing all agents
    • Running Controlled Experiments
      • The recommended method
      • Levels of control
      • Using generate():
      • Controlling agent allocation to factories
      • Controlling construction paramteres
      • Controlling other aspects of the simulation
      • Controlling Profiles
      • Controlling exogenous contracts
        • Standard SCML2023World
        • SCMLOneshot World
    • Logging and Statistics
      • Types of Logs
      • Primer on logging in negmas
      • Controlling logging
    • Getting infromation about a simulation
      • World Information
        • params.json
        • info.json
        • stats.csv and stats.json
      • Contracts and Negotiations
        • negotiations.csv
        • contracts.csv
        • breaches.csv
    • Ideas for developing you agent (OneShot)
      • IDEA 1: Learn the acceptance strategy of your partners
      • IDEA 2: Predict future market conditions
    • Final Remarks
    • Developing an agent for Legacy (Std/Collusion) [Deprecated]
      • Do Nothing Agent
        • Your AWI
      • Agent Anatomy
        • Strategies
        • Production Strategy
        • Trading Strategy
        • Negotiation Control Strategy
      • Creating our own negotiation control strategy
      • Changing the negotiation strategy
      • Overriding an agent directly
      • An agent from scratch
      • A competition
      • Running OneShot agents (advanced)
  • FAQ
    • How can I access a data file in my package?
    • Can my agent pass data to my other agents between worlds?
    • Can my agent read data from the HDD outside my agent’s folder?
    • Can my agent write data to the HDD during the simulation?
    • Can I print to the screen to debug my agent?
    • Can I write arbitrary code in my module besides the agent class definition?
    • I ran a simulation using “scml run2022” command. Where are my log files?
    • I implement my agent using multiple files. How should I import them?
    • How can I run simulations with the same parameters as the actual competition (e.g. for training my agent)
    • How can I save sklearn models and load them later?
  • Command Line Scripts
    • Running SCML2020 Tournaments
    • Running SCML2019 Tournaments
    • Running an SCML2020 world (scml run2020)
    • Running an SCML2019 world (scml run2019)
  • Contributing
    • Bug reports
    • Documentation improvements
    • Feature requests and feedback
    • Development
      • Pull Request Guidelines
      • Tips
  • Authors
  • Changelog
    • 0.7.7 (2025.05.28)
    • 0.7.6 (2025.03.16)
    • 0.7.5 (2024.04.07)
    • 0.7.4 (2024.04.03)
    • 0.7.3 (2024.03.15)
    • 0.7.2 (2024.03.02)
    • 0.7.1 (2024.03.02)
    • 0.7.0 (2024.03.02)
    • 0.6.3 (2023.12.11)
    • 0.6.2 (2023.11.27)
    • 0.6.1 (2023.7.9)
    • 0.6.0 (2023.7.9)
    • 0.5.6 (2023.3.8)
    • 0.5.5 (2022.5.18)
    • 0.5.4 (2022.5.15)
    • 0.5.3 (2022.5.14)
    • 0.5.2 (2022.4.8)
    • 0.5.1 (2022.3.10)
    • 0.5.0 (2022.2.17)
    • 0.4.9 (2021.7.30)
    • 0.4.8 (2021.7.28)
    • 0.4.7 (2021.7.15)
    • 0.4.6 (2021.6.15)
    • 0.4.5 (2021.6.14)
    • 0.4.4 (2021.6.1)
    • 0.4.3 (2021.6.1)
    • 0.4.2 (2021.5.10)
    • 0.4.1 (2021.5.2)
    • 0.4.0 (2021.3.18)
    • 0.3.4 (2021.3.8)
    • 0.3.3 (2021.2.22)
    • 0.3.0 (2020.7.2)
    • 0.2.14 (2020.5.05)
    • 0.2.13 (2020.4.15)
    • 0.2.12 (2020.4.13)
    • 0.2.11 (2020.3.29)
    • 0.2.10 (2020.3.25)
    • 0.2.9 (2020.3.19)
    • 0.2.8 (2020.3.13)
    • 0.2.7 (2020.3.09)
    • 0.2.6 (2020.2.27)
    • 0.2.5 (2020.2.27)
    • 0.2.4 (2020.2.21)
    • 0.2.3 (2020.2.15)
    • 0.2.2 (2020.1.31)
    • 0.2.1 (2020.1.23)
    • 0.2.0 (2020.1.8)
    • 0.1.5 (2019.12.11)
    • 0.1.3 (2019-12-08)
    • 0.1.2 (2019-12-01)
    • 0.1.1 (2019-11-25)
    • 0.1.0 (2019-11-20)
  • API Reference
    • scml
      • Submodules
        • scml.__main__
        • scml.cli
        • scml.cliadv
        • scml.common
        • scml.experiment
        • scml.oneshot
        • scml.runner
        • scml.scml2019
        • scml.scml2020
        • scml.std
        • scml.utils
        • scml.vendor
      • Attributes
      • Classes
      • Functions
      • Package Contents
        • __author__
        • __email__
        • __version__
        • builtin_agent_types()
        • __all__
        • SCML2019Agent
        • SCMLAWI
        • DefaultBank
        • Bank
        • UNIT_PRICE
        • TIME
        • QUANTITY
        • Product
        • Process
        • InputOutput
        • RunningCommandInfo
        • INVALID_STEP
        • NO_PRODUCTION
        • ManufacturingProfile
        • ManufacturingProfileCompiled
        • ProductManufacturingInfo
        • FactoryStatusUpdate
        • Job
        • ProductionNeed
        • MissingInput
        • ProductionReport
        • ProductionFailure
        • FinancialReport
        • SCMLAgreement
        • SCMLAction
        • CFP
        • Loan
        • InsurancePolicy
        • Factory
        • FactoryState
        • DEFAULT_NEGOTIATOR
        • Consumer
        • ConsumptionProfile
        • JustInTimeConsumer
        • FactoryManager
        • DoNothingFactoryManager
        • GreedyFactoryManager
        • pos_gauss()
        • _safe_max()
        • zero_runs()
        • DefaultInsuranceCompany
        • InsuranceCompany
        • Miner
        • MiningProfile
        • ReactiveMiner
        • ScheduleInfo
        • Scheduler
        • GreedyScheduler
        • FactorySimulator
        • SlowFactorySimulator
        • FastFactorySimulator
        • transaction()
        • temporary_transaction()
        • anac2019_world()
        • anac2019_tournament()
        • anac2019_collusion()
        • anac2019_std()
        • balance_calculator()
        • anac2019_sabotage()
        • DefaultGreedyManager
        • SCML2019World
        • builtin_agent_types()
        • __all__
        • SCML2020Agent
        • OneShotAdapter
        • RandomAgent
        • DoNothingAgent
        • IndependentNegotiationsAgent
        • MarketAwareIndependentNegotiationsAgent
        • BuyCheapSellExpensiveAgent
        • MarketAwareBuyCheapSellExpensiveAgent
        • DecentralizingAgent
        • IndDecentralizingAgent
        • DecentralizingAgentWithLogging
        • MarketAwareDecentralizingAgent
        • MarketAwareIndDecentralizingAgent
        • ReactiveAgent
        • MarketAwareReactiveAgent
        • MovingRangeAgent
        • MarketAwareMovingRangeAgent
        • SatisficerAgent
        • AWI
        • SYSTEM_BUYER_ID
        • SYSTEM_SELLER_ID
        • COMPENSATION_ID
        • ANY_STEP
        • NO_COMMAND
        • ANY_LINE
        • INFINITE_COST
        • QUANTITY
        • TIME
        • UNIT_PRICE
        • is_system_agent()
        • FactoryState
        • FinancialReport
        • FactoryProfile
        • Failure
        • ExogenousContract
        • ProductionStrategy
        • SupplyDrivenProductionStrategy
        • DemandDrivenProductionStrategy
        • TradeDrivenProductionStrategy
        • TradePredictionStrategy
        • FixedTradePredictionStrategy
        • ExecutionRatePredictionStrategy
        • FixedERPStrategy
        • MeanERPStrategy
        • MarketAwareTradePredictionStrategy
        • SignAll
        • SignAllPossible
        • KeepOnlyGoodPrices
        • NegotiationManager
        • StepNegotiationManager
        • IndependentNegotiationsManager
        • MovingRangeNegotiationManager
        • Simulation
        • Factory
        • SCML2020World
        • SCML2021World
        • SCML2022World
        • SCML2023World
        • SCML2024World
        • builtin_agent_types()
        • __all__
        • OneShotAgent
        • OneShotSyncAgent
        • OneShotSingleAgreementAgent
        • OneShotIndNegotiatorsAgent
        • EndingNegotiator
        • SingleAgreementAspirationAgent
        • GreedyOneShotAgent
        • GreedySyncAgent
        • GreedySingleAgreementAgent
        • OneshotDoNothingAgent
        • Placeholder
        • RandomOneShotAgent
        • RandDistOneShotAgent
        • EqualDistOneShotAgent
        • SyncRandomOneShotAgent
        • SingleAgreementRandomAgent
        • OneShotAWI
        • QUANTITY
        • UNIT_PRICE
        • TIME
        • OneShotState
        • OneShotExogenousContract
        • OneShotProfile
        • FinancialReport
        • is_system_agent()
        • INFINITE_COST
        • SYSTEM_BUYER_ID
        • SYSTEM_SELLER_ID
        • Context
        • GeneralContext
        • ANACContext
        • LimitedPartnerNumbersContext
        • FixedPartnerNumbersContext
        • ANACOneShotContext
        • LimitedPartnerNumbersOneShotContext
        • FixedPartnerNumbersOneShotContext
        • SupplierContext
        • ConsumerContext
        • StrongSupplierContext
        • StrongConsumerContext
        • WeakSupplierContext
        • WeakConsumerContext
        • BalancedSupplierContext
        • BalancedConsumerContext
        • RepeatingContext
        • ContextParams
        • MonopolicContext
        • SingleAgentPerLevelSupplierContext
        • EutopiaContext
        • EutopiaConsumerContext
        • EutopiaSupplierContext
        • OneShotPolicy
        • ActionManager
        • FlexibleActionManager
        • DefaultActionManager
        • OneShotRLAgent
        • RLState
        • RLAction
        • RLModel
        • model_wrapper()
        • OneShotEnv
        • ObservationManager
        • FlexibleObservationManager
        • DefaultObservationManager
        • random_action()
        • random_policy()
        • greedy_policy()
        • RewardFunction
        • DefaultRewardFunction
        • DefaultOneShotAdapter
        • _StdSystemAgent
        • OneShotUFun
        • UFunLimit
        • UtilityInfo
        • SCMLBaseWorld
        • OneShotWorld
        • SCML2020OneShotWorld
        • SCML2021OneShotWorld
        • SCML2022OneShotWorld
        • SCML2023OneShotWorld
        • SCML2024OneShotWorld
        • PLACEHOLDER_AGENT_PREFIX
        • __all__
scml
  • Search


© Copyright 2019, Yasser Mohammad.

Built with Sphinx using a theme provided by Read the Docs.