# Using \`format/2\` with attributed variable on a pengine

**URL:** <https://swi-prolog.discourse.group/t/using-format-2-with-attributed-variable-on-a-pengine/6996>\
**Category:** Help!\
**Created:** [November 23, 2023, 8:12pm UTC](https://swi-prolog.discourse.group/t/using-format-2-with-attributed-variable-on-a-pengine/6996 "2023-11-23T20:12:23Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![ridgeworks](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/ridgeworks/32/886_2.png) [@ridgeworks](https://swi-prolog.discourse.group/u/ridgeworks)\
**Post date:** [November 30, 2023, 4:10pm UTC](https://swi-prolog.discourse.group/t/using-format-2-with-attributed-variable-on-a-pengine/6996/15 "2023-11-30T16:10:49Z")

</div>

> [@jan](#):
>
> > [@ridgeworks](#):
> >
> > `write_attributes`
> 
> Added.

Thanks. I see it’s in SWIP 9.1.20 so I’ll do my final testing on thta.

> [@jan](#):
>
> clpBNR is (I think( structured as a package, so that should be fine.

The package actually contains two modules - `clpBNR` and `clpBNR_utilities`. I assume the install will include both.

Note: the last post on [Sandboxing modules - #3 by ridgeworks](https://swi-prolog.discourse.group/t/sandboxing-modules/6980/3) discusses a minor change to `library(simplex)` to make its `maximize/3` and `minimize/3` accessible on SWISH. The fix is fairly simple and at some point I’ll try to generate a PR.

> [@jan](#):
>
> The integration makes the model and justification visible. I’m afraid all this is not trivial ☹

If this is the solution, I’ll give a hard pass. I’ll just add the inability to view the constraint network at the toplevel to list of things not supported on SWISH. It’s primarily a developer feature anyway, so there are a few of these on that list.

---

_[View the full topic](https://swi-prolog.discourse.group/t/using-format-2-with-attributed-variable-on-a-pengine/6996)._
