Skip to content

Add a setup script to configure cuopt in a sandbox on nemoclaw#124

Merged
tmckayus merged 5 commits intoNVIDIA:mainfrom
tmckayus:addclaw
Apr 17, 2026
Merged

Add a setup script to configure cuopt in a sandbox on nemoclaw#124
tmckayus merged 5 commits intoNVIDIA:mainfrom
tmckayus:addclaw

Conversation

@tmckayus
Copy link
Copy Markdown
Collaborator

Add a setup script that installs cuopt clients and basic skills in a nemoclaw sandbox and configures the sandbox so that the openclaw agent can use a cuopt server running on the same host to solve optimization problems.

the [NemoClaw documentation](https://docs.nvidia.com/nemoclaw/latest/inference/use-local-inference.html) for more details. For example:

```bash
export NVIDIA_API_KEY="nvapi-..."
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provide a link to get NVIDIA API KEY

Comment thread cuopt_on_nemoclaw/utils/strip_policy_metadata.py Outdated
Comment thread cuopt_on_nemoclaw/nemoclaw_cuopt_setup.sh Outdated
Comment thread cuopt_on_nemoclaw/probe_grpc.py Outdated

For large numbers of terms, use `LinearExpression` to avoid recursion limits:

```python
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be useful to add a clone or pull for skills from github repo instead of just the link since we are sharing details same as other skills.

CUOPT_REMOTE_HOST=host.openshell.internal CUOPT_REMOTE_PORT=5001 cuopt_cli problem.mps
```

### MPS Format Quick Reference
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be concerned if the agent is trying to write MPS files. I think we should discourage this rather than tell the agent how to do it.

@rgsl888prabhu
Copy link
Copy Markdown
Collaborator

We will follow-up with fixes to this PR, as is we can merge it now.

tmckayus and others added 3 commits April 17, 2026 12:03
Co-authored-by: Ramakrishnap <42624703+rgsl888prabhu@users.noreply.github.com>
Co-authored-by: Ramakrishnap <42624703+rgsl888prabhu@users.noreply.github.com>
Co-authored-by: Ramakrishnap <42624703+rgsl888prabhu@users.noreply.github.com>
@tmckayus tmckayus merged commit a18d718 into NVIDIA:main Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants