Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Public API index

This curated index covers the names exported from the top-level lcm and lcm.solvers namespaces and the explicit public submodule surfaces below. It is a navigation-completeness check, not an exhaustive semantic specification: constructor fields, behavioral contracts, and the correctness of destinations require page-specific documentation and tests.

Model and economic declarations

Public nameCanonical documentation
lcm.ModelModel assembly and execution
lcm.ModelDeclarationsResolved model declarations
lcm.FunctionDeclarationDeclared function signature and inputs
lcm.InitialNodesExplicit coordinates of admissible starts
lcm.CompositeStateReachable tuples of discrete member states
lcm.PeriodCandidateExact primary ranked-width request
lcm.LoweredPeriodCandidateImmutable descriptors and raw unoptimized IR
lcm.RegimeGeneral regime
lcm.CompositionActionThe members’ decision on the composition
lcm.DestinationDestination regime and landing states of a member
lcm.ConsentFormation by consent
lcm.CounterpartyThe other agent at a formation
lcm.PCOnActionsUnilateral divorce: participation constraints on actions
lcm.PCOnWeightUnilateral divorce: participation constraints on the Pareto weight
lcm.MutualConsentMutual consent divorce
lcm.TransferDivorce transfer the members can shift
lcm.ExecutionConfigDevices, budget, sharded states, widths, donation
lcm.InvariantBlockSchedulePeriod- or block-major invariant schedule
lcm.ConsumptionSavingsRegimeOne liquid margin
lcm.NestedConsumptionSavingsRegimeLiquid plus outer margin
lcm.LiquidMarginLiquid roles
lcm.OuterContinuousMarginOuter roles
lcm.NetOfAdjustmentCostResources composition
lcm.post_decision_lower_boundCheckable borrowing bound
lcm.outer_unchangedIdentity no-adjustment sentinel
lcm.cash_on_hand_with_subsidySupported case-piece fixed form
lcm.liquid_law_from_resourcesConventional liquid law
lcm.liquid_law_from_savingsConventional savings-written liquid law
lcm.ExtremeValueTasteShocksEV1 discrete-choice shocks
lcm.EULER_GAMMAMean of a standard Gumbel draw

Graph inspection and regime analysis

Public nameCanonical documentation
lcm.graphs.digraph, Model.to_networkxTemporal regime graph
lcm.graphs.analyze_regime_structureTyped regime-structure analysis
lcm.graphs.LinearRegimeCostModelAlternative linear objectives
lcm.graphs.RegimeAnalysisResultImmutable result, recommendations and report writing
lcm.graphs.RegimeCandidate, lcm.graphs.RegimeBlockDirect candidate and computational-block inspection
lcm.graphs.StatusLaneStatus splitting
lcm.graphs.RegimeCheck, lcm.graphs.RegimeCostScoped checks and structural costs
lcm.graphs.find_regimesDictionary compatibility helper

Grids, categories, and processes

Public nameCanonical documentation
lcm.shocksNamed IID laws and integration rules
lcm.AgeGridLifecycle grid
lcm.categoricalCategory declaration
lcm.characteristicsChecked category characteristics
lcm.category_withCategory code from characteristics
lcm.DiscreteGridDiscrete outcome grid
lcm.LinSpacedGridLinear grid
lcm.LogSpacedGridLog grid
lcm.IrregSpacedGridExplicit irregular grid
lcm.GridBreakpointPiecewise-grid boundary
lcm.PiecewiseLinSpacedGridPiecewise linear grid
lcm.PiecewiseLogSpacedGridPiecewise log grid
lcm.ConditionalActionAction active under some codes
lcm.UniformIIDProcessIID uniform process
lcm.NormalIIDProcessIID normal process
lcm.JointNormalIIDProcessNamed correlated IID normal shocks
lcm.LogNormalIIDProcessIID log-normal process
lcm.NormalMixtureIIDProcessIID normal mixture
lcm.TauchenAR1ProcessTauchen AR(1)
lcm.RouwenhorstAR1ProcessRouwenhorst AR(1)
lcm.TauchenNormalMixtureAR1ProcessMixture AR(1)
lcm.StateConditionedState-conditioned process parameters

Transitions, phases, and structured declarations

Public nameCanonical documentation
lcm.StochasticTransitionStochastic transition wrapper
lcm.AdditiveShockTransitionAdditive continuous-state shock law
lcm.TransitionGraph edges with their regime law
lcm.JointTransitionShared-draw joint law
lcm.ByAgeNumerical laws by exact source age
lcm.AgeRangeHalf-open age interval
lcm.ByPeriodNumerical laws by source period
lcm.PeriodRangeHalf-open period interval
lcm.PeriodsExplicit source periods
lcm.DeterministicTransitionDeterministic transition wrapper
lcm.deterministic_transitionDeterministic transition decorator
lcm.stochastic_transitionStochastic transition decorator
lcm.fixed_transitionIdentity law
lcm.AgeSpecializedFunctionAge-varying function
lcm.AgeSpecializedGridAge-varying grid
lcm.PeriodSpecializedFunctionPeriod-varying function
lcm.PeriodSpecializedGridPeriod-varying grid
lcm.PhasedSolve/simulate variants
lcm.ConditionStructured Boolean expression
lcm.refNamed reference
lcm.impliesConditional requirement
lcm.case_boundaryStructured case boundary
lcm.piecePiece decorator
lcm.smooth_helperReviewed smooth-helper attestation
lcm.affine_breakpointSchedule breakpoint
lcm.piecewise_affinePiecewise-affine schedule

Temporal parameters

Public nameCanonical documentation
lcm.TimeVaryingLabelled temporal values
lcm.time_varying_paramsManaged temporal selection
lcm.UnlabelledTimeParameterWarningUnchecked manual time mapping

Preferences, results, and persistence

Public nameCanonical documentation
lcm.LinearAggregatorLinear Koopmans form
lcm.CESAggregatorCES Koopmans form
lcm.DecoupledChoose with one W, store another
lcm.CertaintyEquivalentCertainty-equivalent contract
lcm.LinearExpectationLinear lottery reduction
lcm.PowerMeanPower-mean reduction
lcm.QuasiArithmeticMeanQuasi-arithmetic reduction
lcm.SimulationResultDeferred simulation result
lcm.PolicyLookupPer-period policy lookup result
lcm.save_solutionSave a complete solution
lcm.load_solutionLoad a complete solution lazily
lcm.load_legacy_solutionRead the old value-only format
lcm.SolveSnapshotSolve diagnostic snapshot
lcm.SimulateSnapshotSimulation diagnostic snapshot
lcm.load_snapshotLoad diagnostic snapshot
lcm.__version__Installed pylcm version

Explicit public submodule surfaces

Public nameCanonical documentation
lcm.persistence.PeriodCaptureSelected production period capture
lcm.persistence.PeriodCaptureRecordCompleted or entry-only evidence
lcm.persistence.CapturedPeriodReplayStrict replay qualification
lcm.persistence.load_period_captureInspect verified numerical captures

Most user-facing names are re-exported from lcm. These deliberately public submodule surfaces remain outside that top-level namespace:

Public nameCanonical documentation
lcm.component_jobs.ComponentJobPlanImmutable component campaign manifest
lcm.component_jobs.CollectedComponentJobsComplete collected solution and simulation
lcm.component_jobs.plan_component_jobsAssign original codes and publish a plan
lcm.component_jobs.load_component_job_planRead the shared plan
lcm.component_jobs.run_component_jobRun one job and atomically publish its fragment
lcm.component_jobs.collect_component_jobsVerify fragments and collect the full result
lcm.params.MappingLeafMapping parameter leaf
lcm.params.SequenceLeafSequence parameter leaf
lcm.params.UserMappingLeafUser mapping parameter leaf
lcm.params.UserSequenceLeafSequence parameter leaf
lcm.params.as_leafExplicit parameter-leaf wrapper
lcm.params.TimeVaryingLabelled temporal values
lcm.params.time_varying_paramsManaged temporal selection
lcm.params.UnlabelledTimeParameterWarningUnchecked manual time mapping
lcm.koopmans_aggregation.KoopmansAggregatorKoopmans-form base contract
lcm.solver_api.ResultRetentionSolution result retention
lcm.solver_api.LoadStatePer-entry materialization state
lcm.solver_api.ValueStoreLazy addressed value store
lcm.solver_api.ArtifactKeyVersioned artifact identity
lcm.solver_api.ArtifactRefPeriod/regime artifact address
lcm.solver_api.ArtifactStoreImmutable artifact store
lcm.solver_api.ArtifactChannelArtifact semantic channel
lcm.solver_api.ArtifactDescriptorDescriptive persisted schema
lcm.solver_api.ArtifactAuthorityModel-built artifact authority
lcm.solver_api.TreePathStable PyTree leaf/container path
lcm.solver_api.AxisRoleMathematical artifact-axis role
lcm.solver_api.AxisDescriptorDescriptive named artifact axis
lcm.solver_api.AxisAuthorityModel-owned axis and coordinates
lcm.solver_api.LeafDescriptorDescriptive numerical leaf schema
lcm.solver_api.LeafAuthorityModel-owned numerical leaf schema
lcm.solver_api.CategoryDomainExact categorical labels and codes
lcm.solver_api.PersistencePolicyPer-artifact persistence policy
lcm.solver_api.KernelOutputWhat a period kernel returns
lcm.solver_api.OmissionReasonRecorded reason for absence
lcm.solver_api.SolutionMetadataLabelled-solution metadata
lcm.solver_api.SolutionResultLabelled solution result
lcm.solver_api.SolutionSourceIn-memory or persisted origin
lcm.solver_api.ValueArraySchemaNamed value-array shape/dtype
lcm.solver_api.SIMULATION_POLICYReplay-policy schema key
lcm.solver_api.EGM_CONTINUATIONContinuation schema key
lcm.solver_api.SOLVER_DIAGNOSTICSDiagnostics schema key
lcm.solver_api.ContinuationArtifactKeyed rolling-continuation protocol
lcm.solver_api.ContinuationReaderWhat a parent may ask a payload
lcm.solver_api.ContinuationCapabilitiesWhat a payload can answer
lcm.solver_api.EGM_ENDOGENOUS_COORDINATECoordinate EGM rows are read on
lcm.solver_api.ReplayModeHow a regime’s decision is obtained
lcm.solver_api.ReplayRouteA regime’s declared replay route
lcm.solver_api.ExecutableReplayRouteExternal replay implementation
lcm.solver_api.DeclaredReplayReplay declared without a route
lcm.solver_api.ReplayReaderJAX-transformable replay reader
lcm.solver_api.ReplayRouteSnapshotValidated immutable replay snapshot
lcm.solver_api.ReplayModelContextPeriod-specific route model view
lcm.solver_api.ReplayRouteRequirementsExact replay artifact dependencies
lcm.solver_api.SimulationBuildContextModel-owned replay build context
lcm.solver_api.ActionOutputNamed replayed action arrays
lcm.solver_api.SolverIdentityExact plugin compatibility identity
lcm.solver_api.SolverExecutionCapabilitiesSolver prerequisites and potential execution axes
lcm.solver_api.ReplayRouteIdentityExact replay compatibility identity
lcm.solver_api.PYLCM_VERSIONExact pylcm compatibility version
lcm.solver_api.SOLVER_API_VERSIONPublic solver-interface version
lcm.solver_api.SOLUTION_SCHEMA_VERSIONLabelled-result schema version
lcm.solver_api.SOLUTION_FORMAT_VERSIONDurable archive format version

Collective regimes and value-dependent choice

Public nameCanonical documentation
lcm.CollectiveUtilityOne utility per member, one action
lcm.ParetoObjectivePareto-weighted objective of the members
lcm.GateState-dependent branch on the transition into one target
lcm.MemberRouteOne source member’s route across it
lcm.ProjectedRegimeValueAnother regime’s value, projected

Solvers and configurations

Public nameCanonical documentation
lcm.solvers.GridSearchGeneral grid search
lcm.solvers.EGMPlain endogenous-grid method
lcm.solvers.DCEGMGeneral-resources EGM
lcm.solvers.NEGMNested DCEGM
lcm.solvers.NBEGMDeclared non-convex-budget EGM
lcm.solvers.NNBEGMNested NBEGM
lcm.solvers.EnvelopeConfigDCEGM envelope union
lcm.solvers.ExactEnvelopeCertified envelope
lcm.solvers.FUESEnvelopeFUES configuration
lcm.solvers.RFCEnvelopeRFC configuration
lcm.solvers.LTMEnvelopeLTM configuration
lcm.solvers.OuterSearchOuter-search marker
lcm.solvers.FiniteOuterGridFinite search
lcm.solvers.AdaptiveOuterMeshAdaptive continuous search
lcm.solvers.OuterBranchAggregatorBranch-aggregation marker
lcm.solvers.DeterministicOuterMaximumHard maximum
lcm.solvers.UniformObservedFixedCostAnalytic fixed-cost integration
lcm.solvers.BranchAggregateResultAggregation output

The remaining exported solver infrastructure is the out-of-tree solver surface: a solver can be written against these names without importing anything private. Persistence, durable identity, executable replay, and the exact-version conformance contract are documented in Custom solvers.

Public nameCanonical documentation
lcm.solvers.SolverSolver base contract
lcm.solvers.SolverExecutionCapabilitiesSolver prerequisites and potential execution axes
lcm.solvers.OneMarginSolverOne-liquid-margin marker
lcm.solvers.TwoMarginSolverNested-margin marker
lcm.solvers.SolverBuildContextPer-regime build context
lcm.solvers.SolutionKernelsPer-period kernel bundle
lcm.solvers.PeriodKernelOne period’s execution protocol
lcm.solvers.CoreProgramOne declared compiled program
lcm.solvers.CoreBuildContextArgument-builder input
lcm.solvers.CoreExecutionRequirementsDeclared execution requirements
lcm.solvers.CoreExecutionDispositionPlanned, dense, or host-driven
lcm.solvers.InternalOutputSpecOutput published within one graph
lcm.solvers.InternalInputRefArgument read from another program
lcm.solvers.ValueReadDeclared read of a stored value
lcm.solvers.ValueArtifactAddressStored value being read
lcm.solvers.ValueConsumerAddressProgram input receiving a value
lcm.solvers.ValueArtifactKindKind of stored value artifact
lcm.solvers.ValueInputChannelInput channel of a value consumer
lcm.solvers.ValueTransferKindOperator one planned transfer runs
lcm.solvers.TransferOperationClassLocal, device copy, or collective
lcm.solvers.TransferCostWhat one planned transfer occupies
lcm.solvers.ProgramScopeRetention scope of a program
lcm.solvers.ReducedAxisDeclared axis folded by a reduction
lcm.solvers.TiledOutputAxisDeclared axis whose tiles concatenate
lcm.solvers.ACTION_PRODUCT_AXISName of the action-product axis
lcm.solvers.STOCHASTIC_NODE_AXISName of the stochastic-node axis
lcm.solvers.CELL_AXISName of the output state-cell axis
lcm.solvers.SAVINGS_POINT_AXISName of the savings-node axis
lcm.solvers.EULER_POINT_AXISName of the Euler-node axis
lcm.solvers.ENVELOPE_CELL_AXISName of the envelope-cell axis
lcm.solvers.OUTER_CANDIDATE_AXISName of the outer-candidate axis
lcm.solvers.INTERVAL_AXISName of the liquid-interval axis
lcm.solvers.BRANCH_AXISName of the discrete-branch axis
lcm.solvers.ReductionDeclarationContract a reduced axis names
lcm.solvers.ReductionSemanticsDeclaration carrying its own fold
lcm.solvers.EXACTNESS_VALUESThe two published exactness values
lcm.solvers.WeightedExpectationReductionWeighted sum over stochastic nodes
lcm.solvers.HardMaxWithCarryReductionHard max carrying the winner payload
lcm.solvers.IntervalEnvelopeReductionUpper envelope over intervals
lcm.solvers.INTERVAL_ENVELOPE_REDUCTIONShared interval-envelope declaration
lcm.solvers.OutputRoleValue and dissolution-flag roles
lcm.solvers.StateAxesLeadingParametrized output-placement role
lcm.solvers.StateActionSpacePer-period state and action arrays
lcm.solvers.KernelOutputWhat a period kernel returns
lcm.solvers.ArtifactKeyVersioned artifact identity
lcm.solvers.ArtifactRefPeriod/regime artifact address
lcm.solvers.ArtifactStoreAddressed artifact store
lcm.solvers.ArtifactChannelArtifact semantic channel
lcm.solvers.ArtifactDescriptorDescriptive persisted schema
lcm.solvers.ArtifactAuthorityModel-built artifact authority
lcm.solvers.TreePathStable PyTree leaf/container path
lcm.solvers.AxisRoleMathematical artifact-axis role
lcm.solvers.AxisDescriptorDescriptive named artifact axis
lcm.solvers.AxisAuthorityModel-owned axis and coordinates
lcm.solvers.LeafDescriptorDescriptive numerical leaf schema
lcm.solvers.LeafAuthorityModel-owned numerical leaf schema
lcm.solvers.CategoryDomainExact categorical labels and codes
lcm.solvers.PersistencePolicyPer-artifact persistence policy
lcm.solvers.EGM_CONTINUATIONContinuation schema key
lcm.solvers.SIMULATION_POLICYReplay-policy schema key
lcm.solvers.SOLVER_DIAGNOSTICSDiagnostics schema key
lcm.solvers.ContinuationArtifactKeyed rolling-continuation protocol
lcm.solvers.ContinuationReaderWhat a parent may ask a payload
lcm.solvers.ContinuationCapabilitiesWhat a payload can answer
lcm.solvers.EGM_ENDOGENOUS_COORDINATECoordinate EGM rows are read on
lcm.solvers.ContinuationSpecTemplate and key of a continuation
lcm.solvers.EGMContinuationSpecEGM carry template and layout
lcm.solvers.EGMContinuationLayoutHow a reading parent interprets rows
lcm.solvers.ReplayModeHow a regime’s decision is obtained
lcm.solvers.ReplayRouteA regime’s declared replay route
lcm.solvers.ExecutableReplayRouteExternal replay implementation
lcm.solvers.DeclaredReplayReplay declared without a route
lcm.solvers.ReplayReaderJAX-transformable replay reader
lcm.solvers.ReplayRouteSnapshotValidated immutable replay snapshot
lcm.solvers.ReplayModelContextPeriod-specific route model view
lcm.solvers.ReplayRouteRequirementsExact replay artifact dependencies
lcm.solvers.SimulationBuildContextModel-owned replay build context
lcm.solvers.ActionOutputNamed replayed action arrays
lcm.solvers.SolverIdentityExact plugin compatibility identity
lcm.solvers.ReplayRouteIdentityExact replay compatibility identity
lcm.solvers.PYLCM_VERSIONExact pylcm compatibility version
lcm.solvers.SOLVER_API_VERSIONPublic solver-interface version
lcm.solvers.SOLUTION_SCHEMA_VERSIONLabelled-result schema version
lcm.solvers.SOLUTION_FORMAT_VERSIONDurable archive format version
lcm.solvers.LoadStatePer-entry materialization state
lcm.solvers.ValueStoreLazy addressed value store
lcm.solvers.ResultRetentionSolution result retention
lcm.solvers.OmissionReasonRecorded reason for absence
lcm.solvers.SolutionMetadataLabelled-solution metadata
lcm.solvers.SolutionResultComplete labelled solution
lcm.solvers.SolutionSourceIn-memory or persisted origin
lcm.solvers.ValueArraySchemaNamed value-array shape/dtype
lcm.solvers.period_to_continuation_targetTarget a period carries into
lcm.solvers.target_period_gridA target’s grid in one period
lcm.solvers.union_free_paramsFree params of a regime and targets
lcm.solvers.union_fixed_paramsFixed params of a regime and targets