mx.gams.mcp: Generate Kuhn-Tucker-Conditions (usable in a MCP) for a given...

Description Usage

View source: R/RMaximaMathConvert.R

Description

Generate Kuhn-Tucker-Conditions (usable in a MCP) for a given objective

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  mx.gams.mcp(expr, var, fun.name = "fun",
    has.lo = rep(TRUE, length(var)),
    has.up = rep(TRUE, length(var)),
    lo = paste("lo_", var, sep = ""),
    up = paste("up_", var, sep = ""),
    shadow.lo = paste("mu_lo_", var, sep = ""),
    shadow.up = paste("mu_up_", var, sep = ""),
    constr.lo = paste("constr_lo_", var, sep = ""),
    constr.up = paste("constr_up_", var, sep = ""),
    declare = NULL, assume = NULL, simplify = TRUE)

skranz/RMaxima documentation built on May 30, 2019, 1:08 a.m.