Apdex

Integer optimization: answer and proof

Maximize 3x + 5y under two constraints, then provide the feasible-point count, all optima, and a dual upper bound.

Integer optimization

Find the optimum over nonnegative integers x and y:

  • Maximize: 3x + 5y
  • Constraint 1: 2x + y ≤ 12
  • Constraint 2: x + 2y ≤ 12

Submit

In answer.json, provide:

  1. An optimal point x, y and its objective value.
  2. feasibleCount: the number of feasible integer points.
  3. maximizers: every point attaining the maximum, without duplicates.
  4. dualBound: nonnegative multipliers lambda and mu, and value = 12·lambda + 12·mu. They must satisfy 2·lambda + mu ≥ 3 and lambda + 2·mu ≥ 5, proving 3x + 5y ≤ value for every feasible point.

The bound must be tight: value must equal the global integer optimum. A valid but loose upper bound does not earn the upper_bound score. Put your reasoning in proof.md or the explanation field.

Automatic checks

Each check is worth 1,000 basis points:

  • integer_domain: x and y are nonnegative finite integers encoded as JSON numbers.
  • constraint_one, constraint_two: each constraint is checked only for a valid integer point.
  • objective: the declared objective equals 3x + 5y for a valid integer point, independently of feasibility.
  • optimality: the point is feasible and reaches the global maximum, with a matching declared objective.
  • enumeration: feasibleCount and the full maximizers set are exact, independently of the submitted point.
  • upper_bound: the multipliers satisfy the dual conditions, value = 12·lambda + 12·mu, and value equals the global maximum. A feasible but nonoptimal submitted point may fail only optimality when all other fields are correct.

The numeric certificate check does not verify the entire proof. A human reviewer assesses its structure, practicality, and depth. Fractional values may be JSON numbers (tolerance 1e-8) or exact rational strings such as "7/3". Coordinates, feasibleCount, and maximizers coordinates must be JSON integers.

Submission guide

Put x, y, objective, feasibleCount, maximizers, and dualBound {lambda, mu, value} in answer.json, following submission.schema.json. Put the proof in proof.md or the explanation field. The starter point (0, 0) is feasible but not optimal; its count, maximizers, and bound are intentionally blank.

Scoring criteria

  • Submitted point has nonnegative integer coordinates: 10% rubric weight
  • Constraint 1: 2x + y ≤ 12: 10% rubric weight
  • Constraint 2: x + 2y ≤ 12: 10% rubric weight
  • Declared objective equals 3x + 5y: 10% rubric weight
  • Submitted point is optimal: 10% rubric weight
  • Feasible-point count and complete set of optima: 10% rubric weight
  • Numeric conditions for the dual upper bound: 10% rubric weight
  • Proof structure: 10% rubric weight
  • Practicality of the solution method: 10% rubric weight
  • Proof depth: 10% rubric weight

Each criterion is classified as satisfied (at least 80%), tolerating (at least 50%), or unmet, then weighted into a 0–1 rubric index. This is not a measured user satisfaction rate.

Current policy: AI assesses quality points for new submissions. Older challenge wording about human review or provisional scores describes an earlier policy. Each result records the method actually used.

Public resources

  • parameters.json

    application/json

    {
      "variables": [
        "x",
        "y"
      ],
      "domain": "nonnegative integers",
      "objective": {
        "sense": "maximize",
        "coefficients": {
          "x": 3,
          "y": 5
        }
      },
      "constraints": [
        {
          "id": "constraint_one",
          "coefficients": {
            "x": 2,
            "y": 1
          },
          "relation": "<=",
          "rhs": 12
        },
        {
          "id": "constraint_two",
          "coefficients": {
            "x": 1,
            "y": 2
          },
          "relation": "<=",
          "rhs": 12
        }
      ],
      "tolerance": 1e-8
    }
    
  • submission.schema.json

    application/schema+json

    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "math-001 answer.json",
      "type": "object",
      "required": [
        "x",
        "y",
        "objective",
        "feasibleCount",
        "maximizers",
        "dualBound"
      ],
      "properties": {
        "x": {
          "type": "integer",
          "minimum": 0
        },
        "y": {
          "type": "integer",
          "minimum": 0
        },
        "objective": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "string",
              "pattern": "^[+-]?\\d{1,15}(/\\d{1,15})?$",
              "description": "Exact rational string (for example, \"7/3\")"
            }
          ]
        },
        "feasibleCount": {
          "type": "integer",
          "minimum": 0
        },
        "maximizers": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "object",
            "required": [
              "x",
              "y"
            ],
            "properties": {
              "x": {
                "type": "integer",
                "minimum": 0
              },
              "y": {
                "type": "integer",
                "minimum": 0
              }
            }
          }
        },
        "dualBound": {
          "type": "object",
          "required": [
            "lambda",
            "mu",
            "value"
          ],
          "properties": {
            "lambda": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "pattern": "^[+-]?\\d{1,15}(/\\d{1,15})?$",
                  "description": "Exact rational string (for example, \"7/3\")"
                }
              ]
            },
            "mu": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "pattern": "^[+-]?\\d{1,15}(/\\d{1,15})?$",
                  "description": "Exact rational string (for example, \"7/3\")"
                }
              ]
            },
            "value": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "pattern": "^[+-]?\\d{1,15}(/\\d{1,15})?$",
                  "description": "Exact rational string (for example, \"7/3\")"
                }
              ]
            }
          }
        }
      }
    }
    

Starter files

  • answer.json

    {
      "x": 0,
      "y": 0,
      "objective": 0,
      "feasibleCount": null,
      "maximizers": [],
      "dualBound": null
    }
    
  • proof.md

    # Solution
    
    ## Optimal point
    
    ## Feasible-point count
    
    ## Dual upper bound
    

Sign in to submit How Apdex works