Skip to content

About

Solve PEtab parameter estimation models with ExaModels.jl

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

142 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExaModelsPEtab.jl

Formulates ExaModels from PEtab models.

Unlike PEtab.jl, which uses the sequential method for dynamic optimization, ExaModelsPEtab.jl applies the simultaneous method (orthogonal collocation) to formulate the problem as a large-scale NLP. The ExaModel can then be solved with MadNLP using CPU or GPU.

License: MIT Build Status

Usage

examodel_petab("path/to/petab.yaml"; backend = nothing, kwargs...)

Returns an ExaModel from a PEtab .yaml file.

Keyword Arguments

  • backend : array backend
  • kwargs... passed on to ExaCore/CollocationExaCore

Example

using ExaModelsPEtab, MadNLP

# Build the ExaModel from a PEtab `.yaml` file
model = examodel_petab("path/to/petab.yaml")
result = madnlp(model)

# Solve using GPU
using MadNLPGPU, CUDA, CUDSS

model = examodel_petab(
  "path/to/petab.yaml";
  backend = CUDA.CUDABackend()
)
result = madnlp(model; tol = 1e-6)

About

Solve PEtab parameter estimation models with ExaModels.jl

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages