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. It is a navigation-completeness check, not an exhaustive semantic specification: submodule-only public objects, 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.RegimeGeneral regime
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

Grids, categories, and processes

Public nameCanonical documentation
lcm.AgeGridLifecycle grid
lcm.categoricalCategory declaration
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.UniformIIDProcessIID uniform process
lcm.NormalIIDProcessIID normal process
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.MarkovTransitionStochastic transition wrapper
lcm.JointTransitionShared-draw joint law
lcm.fixed_transitionIdentity law
lcm.AgeSpecializedFunctionAge-varying function
lcm.AgeSpecializedGridAge-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

Preferences, results, and persistence

Public nameCanonical documentation
lcm.LinearAggregatorLinear Koopmans form
lcm.CESAggregatorCES Koopmans form
lcm.CertaintyEquivalentCertainty-equivalent contract
lcm.LinearExpectationLinear lottery reduction
lcm.PowerMeanPower-mean reduction
lcm.QuasiArithmeticMeanQuasi-arithmetic reduction
lcm.SimulationResultDeferred simulation result
lcm.save_solutionSave value functions
lcm.load_solutionLoad value functions
lcm.SolveSnapshotSolve diagnostic snapshot
lcm.SimulateSnapshotSimulation diagnostic snapshot
lcm.load_snapshotLoad diagnostic snapshot
lcm.__version__Installed pylcm version

Explicit public submodule surfaces

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

Public nameCanonical documentation
lcm.params.MappingLeafMapping parameter leaf
lcm.params.SequenceLeafSequence parameter leaf
lcm.params.UserMappingLeafUser mapping parameter leaf
lcm.params.UserSequenceLeafUser sequence parameter leaf
lcm.params.as_leafExplicit parameter-leaf wrapper
lcm.koopmans_aggregation.KoopmansAggregatorKoopmans-form base contract

Collective regimes and value-dependent choice

Public nameCanonical documentation
lcm.CollectiveUtilityOne utility per stakeholder, one action
lcm.ParetoObjectiveWeighted household objective
lcm.ValueDependentConstraintConstraint that reads stakeholder values
lcm.ValueDependentTransitionGated transition to a target regime
lcm.StakeholderRouteOne source stakeholder’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.MSSEnvelopeMSS 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 currently contributor-facing, not a supported out-of-tree extension seam:

Public nameStatus
lcm.solvers.SolverContributor-facing base contract
lcm.solvers.OneMarginSolverContributor-facing marker
lcm.solvers.TwoMarginSolverContributor-facing marker
lcm.solvers.SolverBuildContextContributor-facing build context
lcm.solvers.SolutionKernelsContributor-facing kernel bundle