Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Extension for dealing with parameters

License

NotificationsYou must be signed in to change notification settings

jump-dev/ParametricOptInterface.jl

Repository files navigation

stable docsdevelopment docsBuild StatusCoverage

ParametricOptInterface.jlis a package that adds parameters to models in JuMP and MathOptInterface.

License

ParametricOptInterface.jl is licensed under theMIT License.

Installation

Install ParametricOptInterface usingPkg.add:

import PkgPkg.add("ParametricOptInterface")

Documentation

Thedocumentation for ParametricOptInterface.jlincludes a detailed description of the theory behind the package, along withexamples, tutorials, and an API reference.

Use with JuMP

Use ParametricOptInterface with JuMP by following this brief example:

using JuMP, HiGHSimport ParametricOptInterface as POImodel=direct_model(POI.Optimizer(HiGHS.Optimizer()))@variable(model, x)@variable(model, pinParameter(1.0))@constraint(model, cons, x+ p>=3)@objective(model, Min,2x)optimize!(model)@showvalue(x)set_parameter_value(p,2.0)optimize!(model)@showvalue(x)

GSOC2020

ParametricOptInterface began as aNumFOCUS sponsored Google Summer of Code (2020) project.

About

Extension for dealing with parameters

Resources

License

Stars

Watchers

Forks

Contributors11

Languages


[8]ページ先頭

©2009-2025 Movatter.jp