Skip to content

MadNLP/MPCCModels.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPCCModels

Build Status

A julia package built on top of NLPModels for providing the functions needed to build solvers for Mathematical Programs with Complementarity Constraints.

Installation

To install MPCCModels, simply proceed to

pkg> add https://github.com/MadNLP/MPCCModels.jl

Usage

MPCCModels takes as input an AbstractNLPModel from NLPModels, with ind_x1 (resp. ind_x2) the indices of the variables appearing in the left-hand complementarity (resp. right-hand complementarity):

using NLPModels,MPCCModels
nlp = create_your_nlp_model()
mpcc = MPCCModel(nlp, ind_x1, ind_x2)

About

An extensions to NLPModels.jl for modelling Mathematical Programs with Complementarity Constraints. Used in CCOpt.jl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages