Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

how can I know the size of the search tree

Open
#383 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reading the Model.optimize() and model statistics API documentation and implementation, then check whether the solver backend exposes the number of explored nodes. The issue is complete when users can reliably obtain that count after optimization and the supported behavior is documented or covered by an appropriate test.

Written by the indexing model from the issue text.

Description

model=mip.Model()
model.read(filepath)
model.optimize()
model.getNNodes()
"""
model.getNNodes() is not define in MIP but how can I know the number of nodes explored after optimize the the problem instance
"""

Dominant language
Linear Programming
Stars
605
Forks
108
Avg merge
1d 22m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coin-or/python-mip

All issues in coin-or/python-mip

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.