Skip to main content
Glama

mcp-optimizer

solve_mixed_integer_program

Solve Mixed-Integer Programming problems with integer, binary, and continuous variables using specified constraints, objective, and solver. Returns optimal variable values and objective results.

Instructions

Solve Mixed-Integer Programming (MIP) problems with integer, binary, and continuous variables.

Args: variables: List of variable definitions with bounds and types constraints: List of constraint definitions with coefficients and bounds objective: Objective function definition with coefficients and direction solver_name: Solver to use ("SCIP", "CBC", "GUROBI", "CPLEX") time_limit_seconds: Maximum solving time in seconds (default: 30.0) Returns: Optimization result with optimal variable values and objective

Input Schema

NameRequiredDescriptionDefault
constraintsYes
objectiveYes
solver_nameNoSCIP
time_limit_secondsNo
variablesYes

Input Schema (JSON Schema)

{ "properties": { "constraints": { "items": { "additionalProperties": true, "type": "object" }, "title": "Constraints", "type": "array" }, "objective": { "additionalProperties": true, "title": "Objective", "type": "object" }, "solver_name": { "default": "SCIP", "title": "Solver Name", "type": "string" }, "time_limit_seconds": { "default": 30, "title": "Time Limit Seconds", "type": "number" }, "variables": { "items": { "additionalProperties": true, "type": "object" }, "title": "Variables", "type": "array" } }, "required": [ "variables", "constraints", "objective" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmitryanchikov/mcp-optimizer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server